ChedderCheeser
Senior Member
I went to radio shack to get a infra red sensor. I got it. I wired it up. I programmed it:
I get NOTHING in the terminal, I THINK its the terminal... because, I was using terminal earlier, but it wasnt working... What do you guys think? I DONT have the resistors or the capacitor... It should still work... i have a ton of power smoothening capacitors... What to do???
Code:
#PICAXE 08M
Main:
DO
INFRAIN2 ; wait for and receive the incoming data
SERTXD (#infra, CR, LF) ; Pass the data to the PC Terminal prog for viewing
LOOP ; loop forever to keep receiving data with values from 0 to 127