multiple button values on one analog pin

Thread Starter

Fariida

Joined Jan 22, 2015
13
Hi,

I am trying to put together some code for a binary clock and want to use analog pins to be able to turn on and off the leds, change minutes and hours. My issue here is when no button is selected my serial monitor is getting a value of "10" not "0" I'm guessing its my resistor size but I'm not sure.

Here is a link to my project. http://123d.circuits.io/circuits/559138-binary-metric-clock
Just hit "Start Simulator" then click "Code Editor" and "Serial Monitor".
 
Top