Introduction: 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

Step 1: Connecting

-Connect the microbit to the computer using the usb cable

-Go to https://makecode.microbit.org and start a new project.

Step 2: 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

Step 3: 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

Step 4: Terms and Concepts

Loop- Something that repeats

Input- A way to add an instruction

LED- Light emitting diode

Step 5: Finish

You have now made a Smiley Button.