To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.nqcOpen lugnet.robotics.rcx.nqc in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / NQC / 792
791  |  793
Subject: 
Re: Scout poweroff time out?
Newsgroups: 
lugnet.robotics.rcx.nqc, lugnet.robotics.scout
Date: 
Sat, 30 Sep 2000 06:52:35 GMT
Viewed: 
3186 times
  
In article <39D52011.ED133D4D@akasa.bc.ca>, Dean Husby
<nntp@akasa.bc.ca> wrote:

I've just finished a very cool Camera mount that can be controlled via
the web. (Linux, NQC & PHP)

I've decided to use my scout because it's so limited. I've noticed one
point and can't seem to see away way around this. I'm hoping someone can
help.

How does the Scouts Auto shutdown system work? I notice that you can't
set the timeout var on it.

Is there anyway to make it NOT sleep?


Looking at the Scout SDK, I think it does support the same sleep time
command as the RCX - although perhaps not from within a program.  There
are two things to try:

nqc -sleep 0

or

add the following function to your program and call it (with t=0)

   void SetSleepTime(const int t)   { asm { 0xb1, t }; }

I'll try to verify if setting the sleep time to 0 works in either of
these cases.  If it is possible to do in a program, I'll fix the API to
support this.

Dave

--
reply to: dbaum at enteract dot com



Message has 1 Reply:
  Re: Scout poweroff time out?
 
(...) I just verified that both of these work. I'll fix the API for the next NQC release, but in the meantime, you can always add the following functions to your Scout programs: void SetSleepTime(const int t) { asm { 0xb1, t }; } void SleepNow() { (...) (24 years ago, 30-Sep-00, to lugnet.robotics.rcx.nqc, lugnet.robotics.scout)

Message is in Reply To:
  Scout poweroff time out?
 
I've just finished a very cool Camera mount that can be controlled via the web. (Linux, NQC & PHP) I've decided to use my scout because it's so limited. I've noticed one point and can't seem to see away way around this. I'm hoping someone can help. (...) (24 years ago, 29-Sep-00, to lugnet.robotics.rcx.nqc, lugnet.robotics.scout)

10 Messages in This Thread:



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

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

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