Example Code for micro:bit-Shy micro:bit

This article offers example code for programming a shy micro:bit, detailing hardware setup, wiring diagrams, and sample codes for both Mind+ and MakeCode platforms, designed to assist users in learning and executing micro:bit projects involving touch sensors and buzzer modules.

Hardware Preparation

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

Software Preparation

MakeCode, Mind+

Wiring Diagram

Connection 4

Result

Video Demo

Programming
video demo 3

Additional Information

Program Flowchart:

Flowchart 3

Was this article helpful?

TOP