Using the pen slot in your Move Motor Car, can you program it to draw different shapes.
The Move Motor comes with a pen slot that will fit a marker such as a sharpie. In this project we're going to put a marker in the slot and code the Move Motor to draw some shapes.
You'll need the following for this project:
Go to the https://makecode.microbit.org website, create a new project and add the kitronik-move-motor extension to your project.
To add an extension follow these steps:
Try and work out how you could program your car to draw a circle when you press the A button on the Microbit. Think about what code you would need to use and then try create the code in your project. If you need a hint click on the button below.
Now let's test to see if it works.
To make it move in a square we will get it to drive forward and turn 90 degrees. As a square has 4 sides we need to do this 4 times.
Think about what code you would need to use to program the B button to draw a square and then try add the code to your project. If you need a hint click on the button below.