LED flickering
frenk60it
Posts: 2
Hi,
Sorry if the question was just posted...
I noticed that when i use the 'HIGH·n' command to turn on a LED it lights ok for four or five seconds and then it seems to 'flicker' for a fraction of second and then again ok for the next amount of time... as it were 'refreshed' in a cycle. I can't explain it as the·the program just·do the HIGH instruction and nothing else...
The Boe-Bot (EDU rev C) is powered from a 4AA cells and the LED is properly connected via·the resistor.
Can you explain this behaviour?
Thanks for any help
Francesco
Sorry if the question was just posted...
I noticed that when i use the 'HIGH·n' command to turn on a LED it lights ok for four or five seconds and then it seems to 'flicker' for a fraction of second and then again ok for the next amount of time... as it were 'refreshed' in a cycle. I can't explain it as the·the program just·do the HIGH instruction and nothing else...
The Boe-Bot (EDU rev C) is powered from a 4AA cells and the LED is properly connected via·the resistor.
Can you explain this behaviour?
Thanks for any help
Francesco
Comments
When the program ends the BASIC Stamp goes into low power mode. When this happens the watchdog timer wakes up every 2.3 seconds or so and when this happens it causes a small glitch in the I/O lines. If you end you program with STOP or the program loops and never ends you will not see this happen. Take care.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
bye - Francesco