I’ve got a Nintendo DS touch screen, the four connections on it need to be dynamically switched between +V, AnalogIn and ground in order to read x and y.
Swapping AnalogIn is easy, supplying +voltage is easy too (AnalogOut at full), but I can’t figure a way to dynamically set an analog pin to behave like a ground pin.
Any smart ideas out there? I’m angst to jump in with a hardware solution if there is a software solution.
Thanks in advance,