Code:
; Picaxe 08m
Main:
IF pin1= 1 then goto Marche
IF pin2= 1 then goto Arret
goto main
Marche:
High 0
goto main
Arret:
Low 0
goto main
This code for driver a led or motor ,commands by push button in mode PRESSED . Please help me to have another code in mode RELEASED ( led on or off when a button is release) many thank you .
Best regards
Last edited: