To use this code, you will need an InkyFrame 4.0
For additional reference, you can go to Pimoroni's official site. Drop down about halfway on the page to the "Software" section. There you will find a variety of references. This code leverages MicroPython:
- (Learn) Getting Started with Inky Frame
- (Readme) Installing MicroPython
- (Readme) MicroPython FAQs (and troubleshooting)
- Download pirate-brand MicroPython (you'll want the Inky Frame.uf2)
- MicroPython examples
- PicoGraphics function reference
More details are provided at https://learn.pimoroni.com/article/getting-started-with-inky-frame#micropython-and-inky-frame
The key here is that you'll need a program called Thonny in order to connect to the InkyFrame and deploy code.
Once you have Thonny installed, you can see the code that is on the InkyFrame, deploy new code, and run code for testing and debugging.
Periodically, new firmware will be released for the hardware. Because this is a cluster of hardware (display, microcontroller, etc.), Pimoroni releases firmware. The most recent firmware for the InkyFrame 4.0 can be found at https://github.com/pimoroni/pimoroni-pico/releases. You'll be looking for a file that follows the naming standard pimoroni-picow_inky_frame-vx.x.x-micropython.uf2
To load new firmware:
- Hold the reset button on the back of the InkyFrame
- Plug the InkyFrame into your computer
- Release the reset button once plugged in
- An external storage folder should appear in your file explorer
- Drag the uf2 file you downloaded into this new external storage folder
- Once the upload is complete, the InkyFrame will automatically disconnect and the firmware is now updated
To put this code on your InkyFrame:
- Download the code in this repo
- Install Thonny and start the program
- Plug your InkyFrame into your computer
- Find the InkyFrame in the menu at the bottom right of the screen
- Once connected, press the stop sign button in the menu bar (this stops the code from running on the InkyFrame). You can only interact with the InkyFrame when there is no code running on it.
- Now you can copy files and folders from your computer (top left window) to the InkyFrame (bottom left window).
- When you copy this code, do not copy the root directory (inky_frame4), just the files and folders contained within that folder.