Users Manual

SCRATCH CODING KIT
Experiencing the button sensor
The button sensor’s analog value is 255 before pressing, and it decreases when it’s pressed. Keep this
in mind so that we can set the basic value while coding. Just remember the analog value of the button
sensor decreases when we press the button.
More details of analog will be covered in the next level. Button sensor can also be connected to the analog port.
Leave the button sensor
and ‘analog0’ will be 255
When the button sensor
is pressed, ‘analog0’ will
decrease.
57
254
Using the button sensor