Showing posts with label Coding. Show all posts
Showing posts with label Coding. Show all posts

Thursday, 5 August 2021

Microbit Dice

LI: 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 dice 

      

This week for tech we were learning about seeing the connection between the writen code, the block code and the flow chart. When we used the makecode we used the python coding. Their are three types of codings that you can do. After we did the python coding we took a screenshot and them made a DLO out of it using the recent flowchart made during the tech sessions. I found this task very intersting because I got to see the connection between the writen code, the block code and the flow chart.


Thursday, 29 July 2021

Flow charts and Radio Chat

 L.I to understand how flowcharts to relate to coding blocks\

To understand how to get the microbit to talk toanother microbit using radio signals

Link to Document




This week for tech we coded our microbits to send messages to another, to do this both mocrobits picked the same number between 1 and 255 so that the messages would be sent to the correct person. There were 3 different buttons that we could use to send messages and the message would be sent then the button was pressed. 

Here is the code


Thursday, 1 July 2021

Coding with Python

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




The first one shows the Phyton coding for flashing heart. It flashes between a small heart icon and a large heart Icon. The Main thing to notice between the Phython coding and the blocks is the the forevea loop is the top and bottom of the content in both.