The
Sensor_Meter program displays the following information:
-
Touch sensor "Pressed"
or "Released". Note that the "bumped" state depends on when
you last asked the sensor, so that is not displayed.
-
Current sound level
heard by the sound sensor (this number changes very quickly),
followed by the loudest sound level heard during the last second
-
Current (reflected)
light level from the light sensor
-
Current distance seen
by the ultrasonic sensor in cm
-
(A, B, C)
Degrees and direction recorded by the rotation sensors from the
motors, as reported by the Rotation Sensor programming block.
The degrees is always a positive number, and the direction will be
reported as "False" if the degrees is negative.
-
If the left arrow,
enter button, or right arrow button on the NXT brick are currently
pressed, then "Left", "Enter", or "Right" will be displayed on the
last line of the display.
|
|
To reset the rotation sensors back to zero, you can
abort the program with the dark gray button on the NXT brick, then
restart the program. |