To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcxOpen lugnet.robotics.rcx in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / *80 (-5)
  Re: Battery voltage available within NQC?
 
(...) If you REALLY wanted to do this, you could use the bytecode to broadcast the battery information to the IR tower and have a service running on the PC which would recieve the battery message and then send an appropriate message back to the RCX. (...) (26 years ago, 12-Mar-99, to lugnet.robotics.rcx.nqc)
 
  Re: Battery voltage available within NQC?
 
(...) There's a bytecode (0x30) that instructs the RCX to send the battery voltage as a response over the IR. That's what NQC and Mindstorms use to read the battery voltage. I don't think this opcode has any effect within a program, or at best it (...) (26 years ago, 12-Mar-99, to lugnet.robotics.rcx.nqc)
 
  Battery voltage available within NQC?
 
Last night I went out and bought six C cell nicads and wired them up as a power supply for my robot. What I'm wondering is this: is there some way to programmatically obtain the battery voltage, so I could make a decision based on a voltage (...) (26 years ago, 11-Mar-99, to lugnet.robotics.rcx.nqc)
 
  Re: Idle process
 
I guess my earlier posting got out after all. I got the message from the NNTP server telling me to register. That is why a slightly different version of my message appears later in the group. (...) I plan to keep the idle task, now that I understand (...) (26 years ago, 11-Mar-99, to lugnet.robotics.rcx.legos)
 
  Re: Idle process
 
(...) The idle task actually has the lowest priority in my scheme, but there was some efficiency gained in making the task list loop around. If the idle task is always there, it makes for simplified code in multitasking startup if you rely on that. (...) (26 years ago, 11-Mar-99, to lugnet.robotics.rcx.legos)


Next Page:  5 more | 10 more | 20 more

Redisplay Messages:  All | Compact

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