Page 103 - Robo_Genius_V1.0_flipbook_C5
P. 103
Try It Yourself Activity Century #Technology Literacy
21 st
Skills
Activity: Create a Digital Thermometer with Micro:bit
1. Open Microsoft MakeCode and create a new project.
2. Drag blocks to display temperature when Button A is pressed.
3. Connect your micro:bit via USB and upload the code.
How to complete the lab:
Code a program that reads the temperature using the sensor when Button A is
pressed and shows it on the display. Download the code to the micro:bit.
21 st
Scenario-Based Questions Century #Critical Thinking
Skills
1. Scenario 1: You are programming a fitness tracker using micro:bit. How
would you use the accelerometer to count steps?
2. Scenario 2: Imagine you want to control the lights in your home using a
micro:bit. How would you use a micro:bit touch sensor for this?
Programming with Micro:bit-Based Programming 101

