To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.legosOpen lugnet.robotics.rcx.legos in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / legOS / 123
    light values? —Luis Villa
   Another question before I call it a night- under LegOS 0.1.6, light-sensor values were restricted to the range 0-100. Under 0.1.7, I'm now getting a max value (pointed straight at a light bulb) of about 263, or once even 272. 255 would make sense to (...) (25 years ago, 12-Apr-99, to lugnet.robotics.rcx.legos)
   
        Re: light values? —Luis Villa
   Some months ago, I posted this question, but got no response. I've finally played with it some more this morning and have some observations: 1) After setting ds_active, my light sensor returns values of 0-100, as I should. 2) After calling (...) (25 years ago, 28-May-99, to lugnet.robotics.rcx.legos)
   
        Re: light values? —John A. Tamplin
   (...) The light sensor is an active sensor, which means that it requires power to operate. When you call ds_passive, you are no longer supplying power to the sensor between readings. Some people have reported being able to use the light sensor for (...) (25 years ago, 28-May-99, to lugnet.robotics.rcx.legos)
   
        Re: light values? —Luis Villa
   Ah... that makes sense- I didn't realize that power was completely cut. Should have (I'm not *that* incompetent in reading electronics diagrams). Oh well. Thanks for the feedback, John... Luis (...) ###...### God was my co-pilot, but we crashed in (...) (25 years ago, 28-May-99, to lugnet.robotics.rcx.legos)
 

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