Reseting the BOE with an I/O pin - any circuit examples available?
r3b0
Posts: 8
i have a BOE with a eb500 in the x1 header, a relay board connected to pin 7, and an LED on pin 8.
after my code runs a random number of times, it locks up, and no longer does what it normally does so well. if i could make the board reset itself every 3 cycle of main, it could get me back to where i need be.
what i would like is a circuit example of how to connect the i/o pin to the rst pin. or maybe somone could browse my code and see if they can spot where it is hanging up?
after my code runs a random number of times, it locks up, and no longer does what it normally does so well. if i could make the board reset itself every 3 cycle of main, it could get me back to where i need be.
what i would like is a circuit example of how to connect the i/o pin to the rst pin. or maybe somone could browse my code and see if they can spot where it is hanging up?
Comments
You can reset your BASIC Stamp by connecting an I/O pin to the reset line and when you want to reset going from an input to LOW (output). This will reset the BASIC Stamp making the I/O pin an input again…That said, I would be more inclined to find the cause of the error in the program that is causing the lockup. Take care.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
thanks again, and have a good weekend everyone.
Rebo