Mircobit Smiley Button
How might I, Martin instruct a middle schooler to make a smiley button, using a microbit and code, so that they can learn some coding.
Supplies
-Mircobit
-USB cable
-Computer
Connecting
-Connect the microbit to the computer using the usb cable
-Go to https://makecode.microbit.org and start a new project.
Coding
-Go to input in the library and add an on button block
-Go to basic in the library and add a show leds block
-Combine those blocks by putting the show leds block inside the on button block and make a smiley face on the led block
Coding
-Go to input in the library and add an on button block and switch it to (B pressed)
-Go to basic in the library and add a show leds block
-Combine those blocks by putting the show leds block inside the on button block and make a frowning face on the led block
Terms and Concepts
Loop- Something that repeats
Input- A way to add an instruction
LED- Light emitting diode
Finish
You have now made a Smiley Button.