Back up any existing code or files you want to keep from your Matrix Portal CIRCUITPY drive.

Most of the CircuitPython libraries used by this project were already recommended on the prior page…but there’s a couple extras needed as well. Here’s a complete list of all the prerequisite libraries…copy them into the lib folder on the CIRCUITPY drive:

  • adafruit_bitmap_font
  • adafruit_bus_device
  • adafruit_display_text
  • adafruit_esp32spi
  • adafruit_io
  • adafruit_lis3dh.mpy
  • adafruit_matrixportal
  • adafruit_requests.mpy
  • neopixel.mpy

Now fetch the files for our Moon clock project from Github:

Unzip this file after downloading. Inside are two folders and one file: the fonts and moon folders and code.py should be copied in the CIRCUITPY root directory. If you already have a fonts folder on your CIRCUITPY drive, copy the three .bdf files in there.

One additional file you’ll create or edit yourself — secrets.py — is explained on the next page…

This guide was first published on Sep 23, 2020. It was last updated on Sep 23, 2020.

This page (Install Code and Graphics) was last updated on Nov 06, 2020.