Visit https://maker.makecode.com and create a New Project
set strip to block so it's under
Select the block and update the dropdowns. We're using D1 and we have 3 pixels.
strip set brightness under LIGHT and move this block under
brightness at 20. You may want to set it lower if the light is too bright. Lower values also make the battery last longer.
strip show frame of ( ) animation under LIGHT and move this under
Choose an animation from the drop down. I selected the
Preview the test animation on the left. Give your sketch a name and then download it to your desktop.
You can also get the code here:
Plug your Gemma M0 into your computer and ensure that the onboard switch it turned ON.
You should see it appear on your desktop as GEMMABOOT. If you have previously installed Arduino or CircuitPython, you may need to double press the reset button to get your board into bootloader mode.
Find the .uf2 file you just downloaded and move it to GEMMABOOT.
The status LED on the board will blink while the file is transferring. Once it's done transferring your file, the board will automatically reset and start running your code (just like in the simulator!)