This time we did a code on a robot called a Micro:Bit. the first code we did was hello world. we plugged in the Micro:Bit into the computer. Then we coded and the data went to the micro:bit. the output of the micro:bit was the led lights. The led lights would say the word or animation that you created. After we did the emoji program on the side of the micro:bit was the a button and the other side was the b side and when you pressed a it would do sad and when you press b it would be happy. then thats what we did for this assignment.
This is the code for hello world
This is the code for the emojis
This assignment we did code on our micro bit that would sense the light and when it gets at a certain level of light it would make a sound. when we coded this we made the light glow when it gets lighter and decreases when there is no light. we hacked our headphones so that we could hear the sound when it gets at the certain level of light.
This is the project that Kayla and I did together was a receiver and a sender. I was the sender when I would press the button (A) it would be a smiley face then when I would push button (B) it would be a sad face then when I pressed both at the same time it would have a heart appear. I used the radio signal to tell Kayla's micro:bit what to display.