14. Case 13: Lively Music¶
14.2. Quick to Start¶
Build the Device¶
Build a device as the below picture shows.
Video reference for building:https://youtu.be/G0hycQ2rxCk
14.3. MakeCode Programming.¶
Step 1¶
Click “Advanced” in the makecode drawer to see more choices.
We need add a package for programming. Click “Extensions” in the bottom of the makecode drawer and search with “Planet X” to have the package downloaded.
Note: If you met a tip indicating it might be deleted due to incompatibility, you may continue as it indicates or create a new project in the menu.
Step 2¶
Programme¶
Result¶
The tones could be adjusted via the trimpot.