Shop OBEX P1 Docs P2 Docs Learn Events
Need help with comm program — Parallax Forums

Need help with comm program

MacGeek117MacGeek117 Posts: 747
edited 2007-05-14 03:10 in Propeller 1
I'm trying to build a comm program that uses Hyperterminal, and it's going well. I then had the idea of being able to issue a command that would cause the Prop to reboot. The only problem is, it's not working. Run the program with Hyperterminal baud set to 115.2kbaud, then enter passcode ('robogeek', followed by a CR), press Home, then enter 'reboot'. it will display "I am fine.", where it should reboot. Could I please have some help?
RoboGeek

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"I reject your reality and subsitute my own!"

Adam Savage, Mythbusters
www.parallax.com
www.goldmine-elec.com
www.expresspcb.com
www.startrek.com

Comments

  • Mike GreenMike Green Posts: 23,101
    edited 2007-05-14 02:58
    Obviously, the problem is not with the reboot statement, but the fact that it is not executed. I suggest that you work backwards using some debugging display statements (using term.str and term.dec) to find out why Questions is returning zero when you expect it to return a 5.
  • MacGeek117MacGeek117 Posts: 747
    edited 2007-05-14 03:10
    I just had the idea of putting that code in a different section, so I will try that tomorrow.
    RoboGeek

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    "I reject your reality and subsitute my own!"

    Adam Savage, Mythbusters
    www.parallax.com
    www.goldmine-elec.com
    www.expresspcb.com
    www.startrek.com
    ·
Sign In or Register to comment.