| | Re: temperature sensor problem
|
|
ahhh... there it is. page 312. thanks. :) i think i saw that 3-digit stuff before and i forgot about it. and thanks for the idea about the until. -ben (...) of (...) (24 years ago, 3-Jul-00, to lugnet.robotics.rcx.nqc)
|
|
| | Re: temperature sensor problem
|
|
Ben, Internally, the RCX only works with integers, but .1 degree resolution was desired for temperature sensors, so the sensor values are actually measured in .1 degree increments. A reading of 70 degrees F is stored as 700, not 70. If you change (...) (24 years ago, 3-Jul-00, to lugnet.robotics.rcx.nqc)
|
|
| | temperature sensor problem
|
|
It's probably something simple and i'm about to embarrass myself, but I'm trying to write the equivalent of an RCX Code temperature sensor watcher with NQC. The motors don't seem to shut off, even when the temperature gets less than 70... (I added (...) (24 years ago, 3-Jul-00, to lugnet.robotics.rcx.nqc)
|
|
| | Re: rotation sensor problem, again...
|
|
I had the same problem and I solved it with a msleep(50). msleep(10) is not enough. (...) (24 years ago, 3-Jul-00, to lugnet.robotics.rcx.legos)
|
|
| | Re: battery life indicator
|
|
if((BATTERY/0x0016)<700) dlcd_show(LCD_BATTERY_X); I always put this line on my programs. BATTERY/0x0016 gives the value in V*100 of all batteries open circuit voltage. <700 is the limit for rotation sensors to work (all the other sensors have (...) (24 years ago, 3-Jul-00, to lugnet.robotics.rcx.legos)
|