120ThingsIn20Years
Senior Member
can anyone help with which method of pin reference to use in Linaxepad?
this is copied from the manual and is some code to combat bounce in switches by introducing a delay.Linaxepad doesnt seem to like the reference to the pins in the if... then... line
I've tried every combination I can think of in referring to pins
I'm using Ubuntu 11.04 and LinAXEpad ver 0.1.4
Is there a command manual that's different for Linaxepad? I cant find it anywhere if there is.
this is copied from the manual and is some code to combat bounce in switches by introducing a delay.Linaxepad doesnt seem to like the reference to the pins in the if... then... line
I've tried every combination I can think of in referring to pins
I'm using Ubuntu 11.04 and LinAXEpad ver 0.1.4
Is there a command manual that's different for Linaxepad? I cant find it anywhere if there is.
Code:
init: let b0 = 0
main: if pin 1 = 1 then add
goto main
add: pause 100 'short delay
let b0 = b0 + 1
if b0 < 5 then main
high 1
goto main