Case 44: The Oscillating Fan
Purpose
Make an oscillating head fan.

Purchase Link
ELECFREAKS micro:bit 32 IN 1 Wonder Building Kit
Materials required

Build Steps




























Hardware Connections

Programming Platform
Programming
Add extension
Click Advanced in MakeCode's code drawer to see more code options and click on Extensions.

Search for wukong in the search box, click on wukong in the image and add the expansion pack.

Procedures

Link: https://makecode.microbit.org/_2mDKRMURaMpy
Result
After turning it on, when you press button A on the micro:bit, the oscillating fan starts running, and when you press button B on the micro:bit, the oscillating fan stops running.
