Pages

Showing posts with label coding. Show all posts
Showing posts with label coding. Show all posts

Friday, 30 July 2021

Flow charts and Radio chat

 LI: To understand how flow charts relaxde to coding blocks.

Link to DLO

The next activity today was coding the micrbit to send a radio signal to another micorbit. we had to make sure that both micorbit were on the same group number so we didn't accdentily get a message form another group.




Friday, 9 July 2021

Robotics in the stars

LI: To try and get the MBot to draw a star shape for Matariki

 

 

 

 

 

Friday, 2 July 2021

Coding in python

L.I : To Learn how to code the Microbot in the Phyton.

 Here is an example of the buttons,  the main thing to notice is "def" which is defining what the on_button_pressed will make the microbot do. Again this has a top and bottom so the content has to go insde it. 

   

The first one image shows the Phyton coding for the flashing hearts code that I made. It flashes between a small heart icon and a large heart Icon. The diference between python coding is that block coding uses blocks and python coding uses text that you have to type down





Friday, 25 June 2021

Rock paper scissons

 LI: To learn how to code in MaLI To learn how to code the microbit to play rock papaer scissors and understand how the flowchart matches the code.

Link to DLO

1. When I shake the microbit it will choose a random number between 1 and 3

2. I have to make a variable called hand and set this to the random number.

3. If the number is 1 - the microbit will show the symbol for paper

4. If the number is 2 - the microbit will show the symbol for rock

5. If the number is 3 - the microbit will show the symbol for scissors







 










\



Friday, 18 June 2021

Friday, 4 June 2021

being a jedi in coding

LI: To make the mbot to go backwards without touching to be a jedi 





 


This week we learn how to make the mobot to go backwards and to make the mobot to work so first thing we did is we had to lestien what sound it make and even movatied each sound on your compter and your mobot then we had to make blocks so the mobot can followt the path.

Friday, 21 February 2020

Tech Reflection

This week we were at tech and our challenge was to control the mBot. We learnt how to make it work using coding. My group was Lilly, Afatia and Liletina. My favourite part was when we had to use our coding skills to turn the robot on. It was hard for me to get the lights to change colour but when we worked as a team, we worked it out.