Chapter 23. Calibration
When it comes to the Sound and Light sensors, you will find that the minimum and maximum values of these two sensors can change from environment to environment. If your robot, for example, is located in a well-lit room, the minimum value (darkest spot in the room) will be substantially different from the minimum value the sensor obtains in a poorly lit room.
Note
The NXT 2.0 robotics kit does not come with the Light or Sound sensors, but you may still find yourself using them one day, so it's worth knowing not only how to use these sensors with your 2.0 brick but also how to calibrate them.
This chapter will show you how to use the CALIBRATE
block (and the Calibrate Sensor tool built into the 2.0 software), so you can trust ...
Get Lego Mindstorms NXT-G Programming Guide, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.