In this lesson, you will learn how to run a motor
Step 1: Locate the two parts on the board that show "M1" and "M2"
Step 2: Using the screwdriver in your kit. Loosen the screws at the top of the blue connectors.
Step 3: Insert the red wire connector into the slot marked "M1+".
Step 4: Insert the black wire connector into the slot marked "M1-".
Step 5: Open: https://makecode.microbit.org and start a new project.
Click “Extensions” in the MakeCode window.
Type "elecfreaks motorbit" within the search box.
This will display the Motor Bit library that you can click on and install.
Note: Where you put the red or black wires depends on the direction you would like the motor to rotate on startup. If you reverse them the motor will move in the opposite direction.
Example Motor Code: