Your PyPortal that came with AdaBox has older running firmware, libraries and software.

The files are the same for the PyPortal and the PyPortal Pynt.

Before you start,  you'll NEED to update your PyPortal!

Step 2 - Update Example Code to Latest

Your PyPortal may have come with an example Quotes demo, or perhaps its blank. Either way, you can install the latest Quotes demo package by clicking here to download a zip:

Note: These are the files that shipped with the Adabox 11 PyPortal. The libraries within this zip are out of date and not compatible with the current version of CircuitPython! The code will not run on the latest CircuitPython. Please use the updated information below to load the updates libraries on your PyPortal.
The following zip includes the latest libraries as of May 2020. Please visit https://circuitpython.org/libraries to download the latest bundle and update all of the libraries to the latest.

First, delete all the files from your CIRCUITPY drive (so you don't have any old lingering files)

Unzip this and go into the boards/pyportal/5.x folder. You will see files such as code.py and pyportal_startup.bmp. Copy over everything in the boards/pyportal/5.x folder. That means code.py and the lib folder will be in the 'root' directory of CIRCUITPY.

Step 3 - Check Display & Add WiFi Secrets

Once everything is fully copied, you will be prompted to edit secrets.py

Do that to enable WiFi support

Step 4 - If you are getting odd errors

If your filesystem somehow got corrupted, or you're getting unusual errors, try erasing the filesystem to clear out any corrupt files, by:

  • download the QSPI Eraser UF2 file
  • load it onto the PyPortal by entering the bootloader and dragging it onto PORTALBOOT
  • wait until the back LED goes from yellow to green
  • Go to Step 1 to re-load the firmware and demo code!

This guide was first published on Feb 26, 2019. It was last updated on Mar 29, 2024.

This page (Updating the PyPortal Demo Code) was last updated on Mar 29, 2024.

Text editor powered by tinymce.