MakeCode for Adafruit Boards

MakeCode Maker is an easy-to-use block-based programming editor that runs in the Google Chrome web browser. It’s has an intuitive interface and features lots of examples and demos.

The Maker version works with supported Adafruit boards, so you can make interactive projects with a wide selection of microcontroller boards.

NeoPixel Rocket Shoe Code

Click the links below to launch the code in MakeCode

Pair Device and Upload

Once you have the MakeCode program open, click the edit button on the top right to open it in a new MakeCode project.

The code blocks and simulator will be ready to modify. Let's get the device paired with WebUSB.

  1. Click on the Gear icon, at the top right.
  2. Select Pair Device from the dropdown.
  3. For the Circuit Playground Express, Click on CPlay Express and Connect. 
  4. Click the big blue Download button to upload the code.

MakeCode Blocks

on start

set strip

setup an external neopixel strip on the A0 pad of the circuit playground express

on button A click

  • stop all animations
  • stop all animations on the strip
  • While button A was pressed do
    • show animation (blue chase color) for 5000 ms

on face down

stop all animations

  • run in parallel
    • show animation (red orange color) for 5000 ms
    • play melody (falling)

on button A+B click

  • reset

This guide was first published on Mar 15, 2022. It was last updated on Mar 16, 2022.

This page (MakeCode) was last updated on Mar 13, 2022.

Text editor powered by tinymce.