Software

Circuit Python Code

The code for this project was developed using Adafruit's CircuitPython and documented in John Park's tiny museum project. Head on over there and follow the tutorial to setup CircuitPython on your HalloWing M0 Express.

Mu: Python IDE

Check out the Mu Python editor for writing CircuitPython code you can easily save and load to your Adafruit supported hardware. Use the built-in serial console for debugging and the plotter for visualizing data. Download the software and check out the learn guide for installation help.

Mac Media Assets

Once you have CircuitPython installed and setup on the HalloWing M0 Express, you can download the assets for this project. This includes bitmap images of the Mac OS boot screens and chime audio wav files. These are included in the download link in the 3D printing page.

Upload Media Assets

Download the .zip file, and then uncompress it. Drag the .bmp and .wav files onto your HalloWing – CIRCUITPY. They must be at the top level of your HalloWing, not inside a folder.

Make sure the code.py and adafruit_slideshow.mpy files have been copied over.

Creating Custom Assets

The tiny museum project also covers how to create custom images and audio assets. If you're interested in creating your own assets for this project, be sure to walk through this page.

The Mac OS chime sounds were recorded from this YouTube Video. It also has "crash" sounds.

The Mac OS boot screens were found in this blog post that features several others.

Reboot and Play Chimes

The capacitive touch pads are used to advance to the next image or the previous image. The code looks for .bmp files to play -- when it finds one it then parses that filename and looks for a .wav file with the same name. For example, macos8.bmp would cause the code to look for a macos8.wav file to play.

This guide was first published on Jan 30, 2019. It was last updated on Jan 30, 2019. This page (Software) was last updated on Jul 15, 2019.