Users Manual

CLASS 2
22
Experiencing the button sensor
Connecting the button sensor to the analog port.
Connect the main cell’s analog port and the button sensor.
Check the values shown after connecting the button sensor.
Analog input
You can see that ‘Analog0’ stays at 255! When
there is no input or nothing entered, the analog
value of the button sensor will stay at 255.
If you press the button, the value
will decrease. If It isn’t, the value will
increase.
B
R
W
12345678
012345