Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 59 - RoboGenius Pro C4
P. 59

    STEP - 5    Click  on  Make  a Variable button  from the  Variables category  to

                                     create a  variable  and  name it heading. This variable will store the
                                     compass value (angle).

                      STEP - 6    Drag the set heading to 0 block from the Variable category and place
                                     it into the forever block.

                      STEP - 7    Drag the compass heading block from the Input category and place it
                                     into the set heading to 0 block.

                                                                                          Sensors in Micro:Bit
                                                                                                                        57

| 54 55 56 57 58 59 60 61 62 63 64 |