Fried my BS2?
orjon
Posts: 2
Hello,
I'm pretty new to all this and have been struggling recently with a rather strange problem, possibly a result from having over-loaded my BS2.
As a test I have the following code to turn some LED's on and off;
the LED's have 470 ohm resistors attached.
The code loads fine, and runs smoothly at first, then starts to speed up or slow down, the latter LED's stop working, followed by the first led blinking on it's own and eventually nothing happens at all!
I guess I've answered my own question - it's buggered right?
Can anyone please tell me if this sounds like the type of damage possible form overloading a BS2 with too many led's (7sed displays)?
thank you, orjon.
I'm pretty new to all this and have been struggling recently with a rather strange problem, possibly a result from having over-loaded my BS2.
As a test I have the following code to turn some LED's on and off;
' {$STAMP BS2} ' {$PBASIC 2.5} led VAR Byte DO FOR LED = 0 TO 3 HIGH LED PAUSE 1000 LOW LED PAUSE 50 NEXT LOOP
the LED's have 470 ohm resistors attached.
The code loads fine, and runs smoothly at first, then starts to speed up or slow down, the latter LED's stop working, followed by the first led blinking on it's own and eventually nothing happens at all!
I guess I've answered my own question - it's buggered right?
Can anyone please tell me if this sounds like the type of damage possible form overloading a BS2 with too many led's (7sed displays)?
thank you, orjon.
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Truly Understand the Fundamentals and the Path will be so much easier...
thanks for the speedy reply.... "LED var PIN", if that's what you meant, returned with a "Expected a variable", so I've simplified the code to the following and still the same things happens. For this simple test program I'm using just four normal LED's and four 470 resistors;
' {$STAMP BS2}
' {$PBASIC 2.5}
DO
HIGH 0
PAUSE 1000
LOW 0
PAUSE 50
HIGH 1
PAUSE 1000
LOW 1
PAUSE 50
HIGH 2
PAUSE 1000
LOW 2
PAUSE 50
HIGH 3
PAUSE 1000
LOW 3
PAUSE 50
LOOP
- Please note, the stamp doesn't do the same thing every time - but sure enough it doesn't work properly every time.
I mentioned the 7 segments only because I think I over loaded (and broke) the bs2 when trying to make a 4 digit, 7 segment clock without multiplexing....
-o.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com
(pin name) PIN (pin number)
LED1 PIN 0
LED2 PIN 1
LED3 PIN 2
This Subject/Thread died on the vine -- 5 years ago.