The GIF player loads images from the Matrix Portal’s flash filesystem. Although it’s an Arduino-based project, it’s necessary to temporarily install CircuitPython on the board to set up that drive for the first time. If you’ve previously installed CircuitPython, then these steps are already done…
- Visit the CircuitPython download page for Matrix Portal M4 and download a current .UF2 file.
- Connect the MatrixPortal board to your computer via USB cable.
- Double-click the board’s reset button.
- After a few seconds, the onboard NeoPixel should turn green and a drive called MATRIXBOOT will appear on your computer.
- Drag the CircuitPython .UF2 file to this drive and wait several seconds for it to install. The MATRIXBOOT drive will be replaced by a new drive called CIRCUITPY.
Create a folder called gifs on this drive. That’s where we’ll put images for playback.
NOTE: you must create the gifs folder on the CIRCUITPY drive and put images in there, or nothing will happen.
Then download the precompiled .UF2 file for this project:
NOTE: this ready-made version works with a 64x32 pixel matrix. The code can handle other sizes but you’ll need to adjust and compile the code yourself in that case, explained on the “Compiling and Customizing” page.
Installing this is similar to CircuitPython above:
- Connect the MatrixPortal board to your computer via USB cable.
- Double-click the board’s reset button.
- After a few seconds, the onboard NeoPixel should turn green and a drive called MATRIXBOOT will appear on your computer.
- Drag the GIF player .UF2 file to this drive and wait several seconds for it to install. The MATRIXBOOT drive will be replaced by a new drive called CIRCUITPY.
Now you just need to load up the gifs folder with suitable images, and tap the reset button to restart.
Text editor powered by tinymce.