Example Code for micro:bit-Shy micro:bit

micro:bit is very shy. He only smiles when no one touches the touch sensor. Otherwise, he shows a crying face on his LED matrix and makes a "crying sound".

Hardware Preparation

BOS0008 bos0020 mbt0039
BOS0008 Touch Sensor BOS0020 Buzzer Module MBT0039 micro:bit
BOS0040
BOS0040 micro:bit Boson Expansion board

Wiring Diagram

Connection Diagram:

Connection 4

Additional Information

Program Flowchart:

Flowchart 3

Video Demo

Programming
video demo 3

Was this article helpful?

TOP