I am using a command in my 14m program like:
let b5 = pin2
this command has worked to put the status of input 2 into b5 so i can then use it for whatever.
This command is currently resetting my program back to the first label. THe program has two debug's, a setfreq m8, and several symbol declarations before the label
It is not resetting before the first label but right there.
This same thing is happening on several picaxe 14m's. However it is not happening on some picaxe 14m's i bought from another source. Picaxe copys perhaps?
Anyway, I need a workaround for this. I just need to read the instant state of the pin onto a variable.
let b5 = pin2
this command has worked to put the status of input 2 into b5 so i can then use it for whatever.
This command is currently resetting my program back to the first label. THe program has two debug's, a setfreq m8, and several symbol declarations before the label
It is not resetting before the first label but right there.
This same thing is happening on several picaxe 14m's. However it is not happening on some picaxe 14m's i bought from another source. Picaxe copys perhaps?
Anyway, I need a workaround for this. I just need to read the instant state of the pin onto a variable.