Friday, August 19, 2022
Friday, June 3, 2022
Playing with the Microbits
Learning Intention: To learn how to code with simple blocks and to transfer the code from the Chromebook to the Microbit.
First of all, we coded the microbit to show a flashing heart.
We put two show led blocks inside a forever block. The microbit shows the leds that are lit on the block. They will flash between one block and the other forever as both blocks are inside a forever block.
We then coded the buttons on the microbit to do different actions according to which button has been pressed.
When we use the blocks for coding the buttons, they have a drop down to choose which button. This is called a variable.
Friday, August 6, 2021
Coding with Python
Learning Intention
To see and understand the connection between the written code, the block code and the flow chart.
This is the comparison between the Python coding, the blocks and the flowchart for making the Microbit act like a dice.
Friday, July 30, 2021
Flow Charts and Radio Chat
Learning Intentions
To understand how flowcharts relate to coding blocks.
To understand how to get the microbit to talk to another microbit using radio signals.
Here is my flowchart practice document.
The next activity today was coding the microbit to send a radio signal to another microbit. We had to make sure that both microbits were on the same group number so we didn't accidentally get a message from another group.
Friday, July 2, 2021
Coding in Python
Learning Intention
To learn how to code the Microbit in Python.
This first one shows the Python coding for a flashing heart. It flashes between a small heart icon and a large heart icon. The main thing to notice between the Python coding and the blocks is that the forever loop is at the top and bottom of the content in both.
Friday, June 25, 2021
Rock Paper Scissors
Learning Intention
To learn how to code the microbit to play rock paper scissors and understand how the flowchart matches the code.
- When I shake the microbit, it will choose a random number between 1 and 3
- I have to make a variable called hand and set this to the random number
- If the number is 1 - the microbit will show the symbol for paper
- If the number is 2 - the microbit will show the symbol for rock
- If the number is 3 - the microbit will show the symbol for scissors