In this lesson, you will learn how to rotate a servo within its travel range.
Step 1: Connect the brown wire to the black pins marked "GND" on the board.
Step 2: Connect the red wire to the red row pin marked "3V3".
Step 3: Connect the orange PWM pin to one of the pin numbers on the board.
Note: If the servo has a black clip just make sure it is oriented correctly with colors matching.
Step 4: Within Micro:Bit.org located the "Advanced" section.
Step 5: Here you can find the servo write to pin actions.Â
Basic (Turn and Turn Back)
Step 6: Example: Open a door when you press the button.