This content has been marked as final. Show 2 replies
I am using an AMUX which I will be programatically connecting pins to. When the pins are not connected to the AMUX they will be digital, so I will need to change the pin to analog programatically before selecting it to be enabled to the AMUX.
The pins need to start off being digital with none connected to the AMUX.
But this gives a build error with mismatched types. This is not really an error because I would have thought it is acceptable to have digital pins connected in the schematic to the AMUX provided they are not software enabled on the the Mux bus.
Is there some way to overcome this error?