User’s Guide
5-5. Surrounding Light Sensing Function
Let’s create a behavior control program that will print the surround light sensor
values on the screen. There are three light sensors. Let’s print the value of
each, one by one on the screen. Select LOAD for the command, CM-5 screen as
the left parameter, and sensor 1 of the Dynamixel as the right parameter.
The program will look like the following. Refer to the“
Examples\Example(Read
light sensor value).bpg
”inside the CD.
Depending on the brightness of light, it
will take values ranging from 0 to 255.
Because the sunlight is very strong,
the test outdoor may not work. In
indoor, sensor can be very sensitive to
devices
th t
emit
strong
light,
including flashlight,
incandescent lamp
and others.
a
There are also many other items
related to light sensing. Refer to the
AX-S1 manual for more information.
64
Summary of Contents for Robotis
Page 1: ...Ver 1 00 BIOLOID User s Guide Closer to Real...
Page 55: ...User s Guide Portion that will be ignored Enable Disable Code Portions that will be ignored 55...
Page 73: ...User s Guide Move routine Stop Backward Left turn Right turn Melody sound routine 73...
Page 100: ...User s Guide Transmitter behavior control program Receiver behavior control program 100...