I'm not :) The code was just a minimal working example. In my actual application the analogWrite() and DACx_C0 = 0 commands are executed depending on user input.
Thanks for the pointer! Disabling the DAC by writing zero to the DACx-C0 register seems to release the pins so that they are free to float, which is just what I needed. In case somebody is interested, this is the...
Hello.
I have a Teensy 3.6 and I am using Arduino 1.8.8 and Teensyduino 1.45.
I was wondering whether it is possible to change pins A21 and A22 to be high-impedance (floating) after having used them with...