Page 31 - Robo_Genius_V1.0_flipbook_C6
P. 31
Blocks to Write the Code
The blocks to write code in Tinker Orbits are:
CATEGORIES/BLOCKS DESCRIPTION
Lights
This pin is used to set the LED high/low.
Sensors
It read the value from the LDR sensor.
It read the value from the Soil moisture
sensor.
It read the value from the IR sensor.
It read the value from the DHT11 module.
It read the value that comes from the
DHT11 module.
Output
It is used to display the value that is read
by the sensors.
It is used to set the buzzer high/low.
This pin is used to set the value of servo
motor.
It is used to set the motor high/low.
Logic
The “if do else” and comparison block (=)
is found under the category of loops. The
“if do else” block helps a program make
decisions and also check the conditions. The
comparison block uses the mathematical
operations (=, <.>, <+=,>= and.) to compare
two conditions/quantities.
Programmable Activities with Tinker Orbits Kit 29

