The Makecode spins the motor attached when the Circuit Playground Express detects a button press. Use the link below to open the code in a modern web browser:

WebUSB Direct Download

MakeCode can load a program direct to your Circuit Playground Express with WebUSB using the Chrome web browser - see this guide page on setting that up.

Then visit the code for the project here: https://makecode.com/_f5MREEYjv7qf

This means code edit will upload directly to the Circuit Playground Express without the need to drag and drop file onto it!

Follow the instruction to set up your board and you'll be able to quickly send code to Circuit Playground Express! 

This guide was first published on May 29, 2018. It was last updated on May 29, 2018.

This page (Code) was last updated on May 22, 2020.