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 / *2850 (-5)
  Re: legOS battery life code
 
Sorry! I forgot to post the code. Here it is: #include <dsensor.h> #include <dlcd.h> #include <conio.h> int get_battery_mv() { long b; int mv; b = BATTERY; b = ds_scale(b) * 0xABD4L; mv = b / 0x618L; return mv; } int main(int ac, char **av) { int b; (...) (24 years ago, 5-Jul-00, to lugnet.robotics.rcx.legos)
 
  legOS battery life code
 
Hello, I recently received some code in the mail that when compiled and uploaded to the RCX is supposed to give you the battery life. But when I go to compile it, legOS/util/makelx gives me the following error message: single byte different at (...) (24 years ago, 5-Jul-00, to lugnet.robotics.rcx.legos)
 
  Re: Interactive Robots
 
(...) Quite good. Fantastic site, I have just spend a relaxing 30 minutes browsing it. Keep up the good work. Scott A (...) (24 years ago, 5-Jul-00, to lugnet.robotics.rcx)
 
  Re: temperature sensor problem
 
(...) No problem. Most of the other environments hide this sort of thing programmer, but this relies on the fact that the programming environment knows how each sensor is going to be used. I didn't think this fit with the C philosophy*, so (...) (24 years ago, 4-Jul-00, to lugnet.robotics.rcx.nqc)
 
  Re: VB Upload Problem
 
Well, Chris verifies that he uses variable 23, 24, and 25 to log values in ROBOLAB, and that he also puts in random stuff such as which sensor it is, etc. in the beginning of the datalog. But this still leaves the problem of how to clear the (...) (24 years ago, 3-Jul-00, to lugnet.robotics, lugnet.robotics.rcx, lugnet.robotics.rcx.nqc)


Next Page:  5 more | 10 more | 20 more

Redisplay Messages:  All | Compact

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