Starter Guide

www.adeept.com
- 113 -
3. Experimental code
Lesson 31 Ultrasonic module->code-> microbit-ultrasonic-HC-SR04.hex
Lesson 31 Ultrasonic module->code->Ultrasonic.py
4. Click flashand download the code onto the micro:bit.
We can see the data fed back by the ultrasonic module on the serial port.
Effect Picture