My First spin at using Fritzing… The external DC circuit is actually 24vdc… it wasn’t in the drop down so I just chose 12vdc. its a 5.1 zener and a 10K resistor…
I measure the lead going to the digital in and its reading a 4.4-4.5vdc… and from my understanding anything over about 3vdc should draw the digital in HIGH… but it stays low… Not sure what I am missing… I even used A0 to measure the voltage and A0 took a reading of ~4.5… Kinda stumped on what I am missing…
I think you've got a software problem, or your Arduino is fried... Did you accidentally configure D7 as an output?
The easiest way to test an input pin is to connect it to +5V (high) and then to ground (low). (But, you don't want to try that unless you're sure the pin is configured as an input.)
I even used A0 to measure the voltage and A0 took a reading of ~4.5..