Áireamhán Microbit
This week we built our very own Calculator on the Microbit
We created three variables to store 3 different numbers.
When A and B are pressed, a random number between 0 and 10 is generated and stored in the Number 1 and Number 2 variables
When we shake the microbit, our two numbers get added ( or subtracted, divided or multiplied ) together and stored in the “total” variabnle
Finally we show the user the answer
Click on the speech icon in the top left of each code block to open the notes