Page 43 - Robo_Genius_V1.0_flipbook_C6
P. 43

Step 2  Click on logic, drag and drop block true and attach it with while loop.












                 Step 3  Click on logic option, drag if do block and comparison operator block, attach them with each
                          other inside the while loop on the workplace.
















                 Step 4  Click  on  sensor  option,  drag  Read  LDR on  block  and  drop  inside  first  blank  space  of
                          comparison operator and change the pin A0 to pin A3. Click on MATH option, drag number
                          block and drop it inside a second blank space of comparison operator and change the value
                          accordingly. Also change the comparison (=) operator to less than (<) operator.














                 Step 5  Click on setting option given on if do block, add else block.





























                                                                 Programmable Activities with Tinker Orbits Kit  41
   38   39   40   41   42   43   44   45   46   47   48