Page 67 - Robo_Genius_V1.0_flipbook_C8
P. 67
Step 6 Set Read Soil Moisture on pin A0 and Read Temperature on pin 0.
Click on the LOGIC option, drag the If Do block and the Comparison Operator block, and
attach them inside the While Loop on the workspace.
Step 7 Click on the Sensors option, drag the Read Soil Moisture on A0 block and drop it inside
the first blank space of the Comparison Operator. Then, click on the MATH option, drag
a Number Block, and drop it inside the second blank space of the Comparison Operator.
Change the value accordingly, and switch the comparison operator from equals (=) to less
than (<).
Step 8 Click on the Settings (gear) icon on the If Do block to add an Else block.
Programming with Tinker Orbits Kit 65

