After posing in the wrong section, here is my relocated post:
I am relatively new to PICAXE and this my first (now 2nd) post on the forum:
For my GCSE Electronics project, I am making a circuit that will read a keyboard input. I have wired my PIC up as detailed in the manual under the keyled section: Inputs 6 and 7 with the 4k7 resistors to +5v. I then used the example code given in the keyin section to read the keystrokes:
main:
keyin
if keyvalue = $32 then swon1
goto main
swon1:
high 1
goto main
After dong all of this, it doesnt appear to work.
Can anyone see what i'm doing wrong or why this isnt working??
Thanks
I am relatively new to PICAXE and this my first (now 2nd) post on the forum:
For my GCSE Electronics project, I am making a circuit that will read a keyboard input. I have wired my PIC up as detailed in the manual under the keyled section: Inputs 6 and 7 with the 4k7 resistors to +5v. I then used the example code given in the keyin section to read the keystrokes:
main:
keyin
if keyvalue = $32 then swon1
goto main
swon1:
high 1
goto main
After dong all of this, it doesnt appear to work.
Can anyone see what i'm doing wrong or why this isnt working??
Thanks