Shop OBEX P1 Docs P2 Docs Learn Events
software reset (reboot) — Parallax Forums

software reset (reboot)

pongmstr2pongmstr2 Posts: 16
edited 2009-06-30 18:50 in Propeller 1
has anyone tried using the "reboot" function, i tried it and can't get it to work.· here is my code


pub toggle
· dira[noparse][[/noparse]7]~~
·
· repeat
···· if ina[noparse][[/noparse]0] ==1
······· reboot
·

Comments

  • TimmooreTimmoore Posts: 1,031
    edited 2009-06-30 18:11
    Use it a lot, haven't had any problems
  • Mike GreenMike Green Posts: 23,101
    edited 2009-06-30 18:17
    There must be something wrong with how you have pin 0 connected.
    There's nothing wrong with the "reboot" function.
  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2009-06-30 18:19
    pongmstr2,

    What behavior of your program leads you to believe reboot is not working? Do you have a pullup on A7 so so you can observe it going high when the Prop is rebooting?

    -Phil
  • Mike GreenMike Green Posts: 23,101
    edited 2009-06-30 18:50
    Please do not start a 2nd thread that's really dealing with the same issues as a 1st thread. It's against forum rules and it doesn't get you a faster answer or a better answer.
Sign In or Register to comment.