fouadalnoor
Member
Hello guys,
I am trying to program and run my PICAXE 08M chip on my test board to check if a program I created works. For some reason the program downloads into the pic fine, but when I try to test it, it doesn't show anything (like the output is just low)?
The program is as follows:
; output 0 for motor
; input 1 is gas on
; input 2 is flame on
main:
if input1 = 0 then goto main
wait 10
flamecheck:
if input2 = 1 then goto flamecheck
high 0
motorcheck:
if input1 = 0 then low 0 else goto motorcheck endif
goto main
_______________________
The above code is programmed using the PICAXE editor found here:
The chip (08M) is found here:
Do I need to add the additional 22k and 10k resistors to the circuit ust to test it as well?
Hope you can help!
Fouad.
I am trying to program and run my PICAXE 08M chip on my test board to check if a program I created works. For some reason the program downloads into the pic fine, but when I try to test it, it doesn't show anything (like the output is just low)?
The program is as follows:
; output 0 for motor
; input 1 is gas on
; input 2 is flame on
main:
if input1 = 0 then goto main
wait 10
flamecheck:
if input2 = 1 then goto flamecheck
high 0
motorcheck:
if input1 = 0 then low 0 else goto motorcheck endif
goto main
_______________________
The above code is programmed using the PICAXE editor found here:
The chip (08M) is found here:
Do I need to add the additional 22k and 10k resistors to the circuit ust to test it as well?
Hope you can help!
Fouad.