March 26, 2014
about a year ago
Has anyone tried to use the analog pins A4 and A5 to read voltages? I have a joystick that I want to connect up to the T rex, and use A4 and A5 to read the voltages (1-4V) from the joystick position in x and y. I tried turning off the internal pull up resistors using this guide:
I commented out the following in wire.h
// activate internal pullups for twi.
// digitalWrite(SDA, 1);
// digitalWrite(SCL, 1);
I’m still reading 5V on both SCL and SDA lines.
No public wish lists :(
Forgot your password?
No account? Register one!