Zephyrnet Logo

NEW GUIDE: Running PyPortal Code on Blinka with Displayio #AdafruitLearningSystem #Blinka @Adafruit @CircuitPython @Raspberry_Pi #PyPortal #DisplayIO #Python @MakerMelissa

Date:

A new guide in the Adafruit Learning System: Running PyPortal Code on Blinka with Displayio.

Since the PyPortal came out, there have been many examples written which take advantage of the CircuitPython displayio graphics system. We have been working on writing a version of displayio that runs on Blinka, the CircuitPython compatibility layer for Python 3 on single board computers. With Blinka, you can run your favorite CircuitPython displayio applications and games on boards such as the Raspberry Pi or even the FT232H.

To make things even easier, we also wrote a version of the PyPortal library that runs on Blinka to make it even easier to get up and running. The Raspberry Pi is already connected to the internet, so we decided to take advantage of this and removed much of the code that handled managing the connections and replaced it with the Linux equivalents.

The Blinka PyPortal library is a port of the original PyPortal library that is intended to be run in CPython.  It leverages the Blinka Displayio library, which is a port of the original CircuitPython displayio library and is built on top of Adafruit Blinka and the Python Imaging Library. The idea behind the PyPortal library is to be able to run many of the examples that are currently available for the PyPortal with minimal changes.

See the new guide now…

Source: https://blog.adafruit.com/2020/07/10/new-guide-running-pyportal-code-on-blinka-with-displayio-adafruitlearningsystem-blinka-adafruit-circuitpython-raspberry_pi-pyportal-displayio-python-makermelissa/

spot_img

Latest Intelligence

spot_img

Chat with us

Hi there! How can I help you?