To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.legosOpen lugnet.robotics.rcx.legos in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / legOS / 3999
3998  |  4000
Subject: 
Re: Shutdown/Off while program running crashes BrickOS
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Sun, 17 Jun 2007 14:26:09 GMT
Viewed: 
15313 times
  
It sounds like the code is testing for pressing the run button, but not
pressing the power button.

I'm using what appears to be called BrickOS 0.9.0.  It was installed using
John
Hansen's simplified installation from his BricxCC sourceforge site.

Yes, that should be the latest version.

I was under the impression that on later versions of BrickOS, like what I
am
using, the firmware handles the Run and Power buttons.  My code does use
the
View and Prgm buttons but I do no special handling of the other two
buttons
other then monitoring shutdown_requested and exiting and killing all tasks
when
that is encountered.

That is correct.  You shouldn't need to do anything else.

At one point, I made some changes to the firmware so the program could also
access the run button.  But, normally all that is handled in the firmware.

We'll see if we can figure it out at Brickworld.

See you in a few days...

Steve



Message is in Reply To:
  Re: Shutdown/Off while program running crashes BrickOS
 
(...) I'm using what appears to be called BrickOS 0.9.0. It was installed using John Hansen's simplified installation from his BricxCC sourceforge site. I was under the impression that on later versions of BrickOS, like what I am using, the firmware (...) (17 years ago, 17-Jun-07, to lugnet.robotics.rcx.legos)

4 Messages in This Thread:

Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR