Aspire to be an independent learner. Click here to learn how.
So far we have been using relatively simple code. We shall now look at 'event driven' programming.
This time, it's war. Let's see if we can program a Microbit to control our Kitronik buggy using an Android tablet or smartphone. To do this, we will need to download and install the 'Bitty Controller' app from the Google Play Store. This will create the Bluetooth radio signals which trigger the 'events' which our program will respond to.
Visit the Kitronic website to see a breakdown tutorial of the code used to make this possible.
When you have finished your script, test it. You should demonstrate your working Bluetooth robot to your teacher to show your progress.
Screenshot your working code and create a detailed write-up, explaining how it works, the function of the block-code and how you overcame any problems.