|
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:
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
|
|
|
|