Metal Proximity Sensor with BS2sx WHOOPS
Archiver
Posts: 46,084
I accidentally posted the last one without stating my problem.
Here is the code i'm using.
'{$STAMP BS2sx}
Counter VAR Word
Here:
INPUT 10
DEBUG "State of Pin 10:",DEC IN10, CR
FOR Counter = 0 TO 2000
Counter =Counter +1
NEXT
GOTO Here
I seem to get random data instead of it giving the correct data, can
someone help me?
Here is the code i'm using.
'{$STAMP BS2sx}
Counter VAR Word
Here:
INPUT 10
DEBUG "State of Pin 10:",DEC IN10, CR
FOR Counter = 0 TO 2000
Counter =Counter +1
NEXT
GOTO Here
I seem to get random data instead of it giving the correct data, can
someone help me?