Example Code for micro:bit-Refrigerator Temperature Indicator
This guide provides a comprehensive tutorial on creating a refrigerator temperature indicator using micro:bit, including hardware and software setup, wiring diagrams, and example code for both Mind+ and MackCode.
Hardware Preparation
![]() |
![]() |
|---|---|
| BOS0017 Red/Blue LED module | BOS0042 Waterproof temperature sensor |
![]() |
![]() |
| MBT0039 micro:bit | BOS0040 miro:bit BOSON expansion board |
Wiring Diagram

Result
| Programming |
|---|
![]() |
Additional Information
Flowchart:

Was this article helpful?





