Shop OBEX P1 Docs P2 Docs Learn Events
flashing LED project — Parallax Forums

flashing LED project

DrubotDrubot Posts: 3
edited 2007-03-04 21:46 in BASIC Stamp
This is my first time on a forum, and with programming, so please bear with me.

At the end of Ch.2 in What's a Microcontroller is the flashing LED project. I got the circuit to work but noticed a slight, at approximately 2 seconds, flicker of the bi-colored Red LED at the END of the RUN.

I'm using the BASIC Stamp Homework Board, Rev. B.

What causes the brief flicker?



[noparse][[/noparse]Subject added by Moderator]

Post Edited By Moderator (Chris Savage (Parallax)) : 3/4/2007 10:00:30 PM GMT

Comments

  • FranklinFranklin Posts: 4,747
    edited 2007-03-04 21:15
    First off, adding a meaningful subject line will help you get answers. Second including the actual code you programmed into the stamp would help others debug your code not just read what you thought you were using.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    - Stephen
  • Martin HebelMartin Hebel Posts: 1,239
    edited 2007-03-04 21:21
    That program probably ends without looping. The BASIC Stamp resets itself and restarts. This is typically what cause the flicker you are seeing. The watchdog timer internal, which ensures the BASIC Stamp is running ok, occurs every 2.3 seconds I believe.

    And Welcome!
    -Martin

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    StampPlot - GUI and Plotting, and XBee Wireless Adapters
    Southern Illinois University Carbondale, Electronic Systems Technologies
  • DrubotDrubot Posts: 3
    edited 2007-03-04 21:46
    Martin,
    Thank you for the Welcome. I thought I had read somewhere that there was a timer.

    Stephen,
    Thanks for your response. I did place a topic in the SUBJECT: slot. It didn't get logged. Please remember, I'm a new-be. I haven't played with forums before. Have to get used to it.
Sign In or Register to comment.