Shop OBEX P1 Docs P2 Docs Learn Events
LED flickering — Parallax Forums

LED flickering

frenk60itfrenk60it Posts: 2
edited 2007-05-16 08:39 in Learn with BlocklyProp
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

Comments

  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2007-05-15 15:12
    Hello,

    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
  • frenk60itfrenk60it Posts: 2
    edited 2007-05-16 08:39
    Thank you for support and quick response.

    bye - Francesco
Sign In or Register to comment.