I can make the LED’s turn on with a ‘HIGH’ command from by basic stamp chip, but when i send a ‘low’ to turn the LED off again, it stays on?
When i connect an LED to the board on a servo cable, the high and low commands work ok!
Any Ideas??
I can make the LED’s turn on with a ‘HIGH’ command from by basic stamp chip, but when i send a ‘low’ to turn the LED off again, it stays on?
When i connect an LED to the board on a servo cable, the high and low commands work ok!
Any Ideas??
We are going to need a schematic, or additional information in order to help. Do you have the specs for the LED? What resistor value are you using?
I think he is talking about the leds on the bb2 on pins 12,13,14, but I am guessing.
I was going to ask if he had anything else plugged into those IO pins
Kurt
Doh! Yeah you are probably right. In that case…
As instructed on page one, item one, of the Bot board manual. You can turn the LED on by making the I/O pin a low. Making the pin an input will turn it off. You can also read the button by making the pin an input and testing for a low. But you shouldn’t make the pin a high, because if you press it’s associated button it’s a direct short to ground, and it can damage the I/O pin. Making the pin a high will not light up the LED.
Let me know if I’m on the right track. Hope this helps.