Tuesday, 3 July 2018

Monday, 2 July 2018

Coded Micro:bit Pet


Through making the final product I learnt:

*showing images on the micro:bit's display
*infinite while loops
*buttons on the micro:bit
*making simple decisions with if statements
*making decisions with two options with if-else statements
*making decisions with multiple options if-elif-else statements
*making complex decisions with the and operator

Although I wasn't able to make my neopixel halo work correctly I was able to quickly make a working micro:bit pet. On start it displays a picture of a rabbit. When different buttons are pressed it displays an emotion for 5 seconds. After 5 seconds it returns to the picture of the rabbit. The project was simple and not too challenging but I did use some different techniques.