|
Page 1 of 1
|
[ 2 posts ] |
|
| Author |
Message |
|
walldie
Rookie
Joined: Sun Apr 29, 2007 6:23 am Posts: 2
|
 Sonar Sensor Value
hi!
Is the standard value for the NXT- Ultrasonic-Sensor Inch or cm?
And how can I change the standard value?
thx
walldie
|
| Fri Jun 01, 2007 8:56 am |
|
 |
|
vnguyen
Site Admin
Joined: Wed Jan 24, 2007 10:44 am Posts: 421 Location: Pittsburgh, PA
|
The standard value for the NXT ultrasonic sensor (in ROBOTC) is in cm. Unfortunately, there is no built-in function that can convert this. However, what you can do is create a variable and convert the cm to inches, and use that result for a condition to work in inches if that's what you prefer.
_________________Vu Nguyen Software Training Development Team | WebmasterNeed more support? Use the ROBOTC Ticketing systemRobotc.net| Robomatter Store | Robotics Academy
|
| Fri Jun 01, 2007 9:34 am |
|
|
|
Page 1 of 1
|
[ 2 posts ] |
|
Who is online |
Users browsing this forum: No registered users and 4 guests |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|
|