digital input trouble
January 14, 2009
ok guys, building my first picaxe robot and I have a question about the switch I hooked up.
I have a switch wired to digital input 7 and V1 and this is my code
if pin7 = 0 then foreward
low 4 high 5
high 6 low 7
for some reason when the switch is pressed or let go nothing happpens.
Any ideas why it is not working?