Data Sheet

4
www.kitronik.co.uk
29
Now we have the building blocks to make the :MOVE mini draw a shape.
STEP 7: Change the code in the ‘onButtonPressed(Button.A, () ’ function to:
WHAT THIS MEANS
This will draw a basic four-sided shape, which if
your turns are accurate, will be a square.
YOUR TURN: Write code to make the MOVE mini turn right, and drive
backwards. Then combine that code to draw other shapes/pictures.
UploadDownload
STEP 8: