Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 43 - Robo_Genius_V1.0_flipbook_C7
P. 43

    It read the value from the IR sensor.

                                                                       It read the value that 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.

                      Loops

                                                                       This  block  is  used  to  execute  the  code  when
                                                                       attached to true block.

                      Math

                                                                       To set the value.

                      Time

                                                                       This block is used to introduce a pause or a wait
                                                                       in the code.

                                                                    Introduction to Programming using Tinker Orbits  41

| 38 39 40 41 42 43 44 45 46 47 48 |