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
23873  |  23875
Subject: 
sensor-defined variable
Newsgroups: 
lugnet.robotics
Date: 
Tue, 12 Apr 2005 23:49:53 GMT
Original-From: 
roc <principio@ilimit.NOMORESPAMes>
Viewed: 
854 times
  
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



Message has 1 Reply:
  Re: sensor-defined variable
 
(...) 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 (...) (19 years ago, 13-Apr-05, to lugnet.robotics)

2 Messages in This Thread:

Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

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