I am a big fan of "being able to code whenever/wherever I am." That's why I bought a wireless keyboard for my iPhone, when I realized I could edit CircuitPython programs using my phone. It's one of my favorite things about the Micro:Bit - the App lets you write and upload code from your phone.
But I didn't think I could do that with makecode.adafruit.com programs for the Circuit Playground. I was wrong, in fact it's pretty easy. I just needed a lightning-to-USB adapter so I could download the code!
First - load your code in your browser (like the picture above).
Next - click the download icon in the lower left.
Then, click the file link above, to "open in a new tab."
You'll see the UF2 file text - just choose to "Save to Files"
IF you've connected the Circuit Playground in "programming" mode (all lights green) you can choose save it to "CLAYBOOT." And you're done! (note: you do not have to give the file a special name, the device will recognize it and load it)
If you've done all these steps, your program should now be running on your Circuit Playground!
These examples are using an iPhone, and I expect the same (or similar) steps will work with an Android device - I'd love to hear if that works for you!
One thing I've found useful, by the way: makecode.adafruit.com does not save to github, as you can with the Micro:Bit or makecode.arcade.com. What I do to keep track of my code is create a makecode.com "sharing" URL, then store that URL in a list of programs on a personal website. That way, for example, I can easily pull up a program when I want to see the code. Another approach that I use is to switch the Makecode IDE to javascript mode, and copy the code and save it in your personal github archive.
This page (Make Code on the Go - Makecode.Adafruit, that is....) was last updated on October 17, 2024.