To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.roboticsOpen lugnet.robotics in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / 23874
    sensor-defined variable —roc
   hi [pls excuse the newbieness of the question...] in NQC, can i have a variable defined by a sensor to control parameters of, say, turn time of a motor, or the note of a PlayTone(x,x)? thanks (20 years ago, 12-Apr-05, to lugnet.robotics)
   
        Re: sensor-defined variable —Brian Davis
   (...) Hey, how do you think the rest of us learned? Perfectly all right (...) Yes. The SENSOR_n (where n = 1, 2, or 3) is just the numerical reading from the configured sensor. It's not a variable (you can not assign a value to it), but you can use (...) (20 years ago, 13-Apr-05, to lugnet.robotics)
 

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