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 “flash” and download the code onto the micro:bit.
We can see the data fed back by the ultrasonic module on the serial port.
Effect Picture: