Led light intensity
SAMYTRIX
Posts: 11
When I plug in LED anode to VSS and cathode to broard, and from there I plug in resistor 470 ohms from led side to VDD, the LED turns on very bright. But when I program the Basic stamp for LED on and off, the light is not as bright. Why anyone?
Comments
' {$STAMP BS1}
' {$PBASIC 1.0}
DO
· HIGH 7
· PAUSE 500
· LOW 7
· PAUSE 500
LOOP
but it asks me to put a colon after the DO and the LOOP. Is that right? is BS1 that much different from BS2?
PS -- BS1 does not·"do" DO...LOOP.
The reason you're seeing the error message is that you've specified ' {$PBASIC 1.0} and you're using commands that are only available in ' {$PBASIC 2.5}. Above and beyond that, YES, the BS-1 and BS-2 commnd sets are significantly different, in a number of areas. Both the PBASIC Stamp Manual, and the PBASIC Stamp IDE Help File will indicate those differences.
Regard,
Bruce Bates
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
<!--StartFragment -->