Starter Guide
www.adeept.com
- 103 -
3. Experimental code:
Lesson 28 DC motor fan->code-> microbit-Motor-fan.hex
Lesson 28 DC motor fan->code-> DC_fan.py
4. Click “flash” and download the code onto the micro:bit.
When the button A is pressed, the DC motor fan blows outwards
counterclockwise, and when the button B is pressed, the DC motor fan blows
clockwise.
Effect Picture: