Starter Guide

www.adeept.com
- 82 -
3. Experimental code
Lesson 23 CM+Water level sensor module->code-> microbit-waterlevel-
module.hex
Lesson 23 CM+Water level sensor module->code-> waterlevels sensor.py
4. Click flashand download the code onto the micro:bit.
Now you can see the value shown on the serial port. When the water level
sensor is placed in the water, the lower it is placed, the higher the value is
read.
Effect Picture