Shop OBEX P1 Docs P2 Docs Learn Events
Prop reset — Parallax Forums

Prop reset

kthor31kthor31 Posts: 2
edited 2011-09-21 11:37 in Propeller 1
Hi everyone. I have a quick question that I believe does not involve needing to post any prop code. I am just wondering if you can reset the prop from within itself? Is there a way to code this in so that as soon as it starts up it resets like it would if you were in serial terminal and clicked reset prop?

If anyone has any ideas how this can be done please let me know!

Comments

  • Mike GreenMike Green Posts: 23,101
    edited 2011-09-21 11:37
    There's a bit in the clock mode register that, when set to 1, resets the Propeller. Check out the description on page 28 of the Propeller Manual. If you're using Spin, the REBOOT statement will set that bit.
Sign In or Register to comment.