Sorry, found the problem.
I was checking the ReadAnalogueVoltage of A0 and A1 one at a time, but I was supposed the pull up or down the other pin at that same time.
Sorry, found the problem.
I was checking the ReadAnalogueVoltage of A0 and A1 one at a time, but I was supposed the pull up or down the other pin at that same time.