pROBLEM WITH bOEbOT wHISKER AND led TEST
NWUpgrades
Posts: 292
I just received my BoeBot today and I am not sure, but I believe there may be a problem with the board. After testing and checking all wire and resistor connections I am having the following problem: I can not get either of the LED's to light up when the whiskers are pressed against the 3 piece contacts. When I run the Whiskers program on the screen, I see P5 and P7 change from 1 to 0 when pressed.
If I modify the program to place a 1 where the 0 goes, the LED's come on, but when the whiskers are·pressed they do not shut off. Any suggestions? I have traced every resistor and wire, and they all are correctly installed.
' {$STAMP BS2}
' {$PBASIC 2.5}
IF (IN7 = 1) THEN
HIGH 1
ELSE
LOW 1
ENDIF
IF (IN5 = 1) THEN
HIGH 10
ELSE
·LOW 10
ENDIF
If I modify the program to place a 1 where the 0 goes, the LED's come on, but when the whiskers are·pressed they do not shut off. Any suggestions? I have traced every resistor and wire, and they all are correctly installed.
' {$STAMP BS2}
' {$PBASIC 2.5}
IF (IN7 = 1) THEN
HIGH 1
ELSE
LOW 1
ENDIF
IF (IN5 = 1) THEN
HIGH 10
ELSE
·LOW 10
ENDIF
Comments
As a side note, your title might be more readable if you use normal capitalization. You can always edit your post to fix it...
"[noparse][[/noparse]check] Insert these two IF....THEN statements between the PAUSE 50 and LOOP commands."
The rest of the code appears to be on page 172-173.