Starter Guide

www.adeept.com
- 116 -
3. Experimental code
Lesson 32 Ultrasonic control led modules->code->microbit-Ultrasonic-
LED.hex
Lesson 32 Ultrasonic control led modules->code->Ultrasonic_control_led.py
4. Click flashand download the code onto the micro:bit.
Now we can see that the LEDs change in different colors when the ultrasonic
sense obstacles at different distances.
Effect Picture