Shop OBEX P1 Docs P2 Docs Learn Events
Reset stamp with code? — Parallax Forums

Reset stamp with code?

Bruce KingBruce King Posts: 12
edited 2005-12-12 15:34 in BASIC Stamp
Hi,

Is there a way to force a reset on a BS2P-40·using code?
I was thinking that if you had a number of inputs or outputs that were in an unreasonable state, it
would be nice to be able to force a reset.

If not, I could just make a seperate logic circuit that monitored the signals for a reset.

thanks for info
Bruce King

Comments

  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2005-12-12 15:25
    Bruce,

    ·· You can reset the BASIC Stamp using an I/O pin without a problem.· But, you must make sure the I/O pin tied to the reset line is always in an INPUT state until you you're ready to do a RESET.· Then, to RESET you simply make that pin LOW.· The instant the Stamp Module resets it will make that I/O pin an INPUT again.· The point is, you never want to drive the line HIGH.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Tech Support
    csavage@parallax.com
  • Bruce KingBruce King Posts: 12
    edited 2005-12-12 15:34
    good idea and thanks!
Sign In or Register to comment.