Circuit Playground Express with Displayio

Play with it! Please tell us which board you're using.
For CircuitPython issues, ask in the Adafruit CircuitPython forum.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
FrankBS
 
Posts: 32
Joined: Sat Feb 20, 2021 12:27 pm

Circuit Playground Express with Displayio

Post by FrankBS »

While waiting to get graphicstest_tft_gizmo to work using Arduino IDE (with help from forum folks), I moved on to "Circuit Playground Express with Displayio".
I loaded the specific UF2 file and then made sure I had all of the libraries installed. I loaded the sample CircuitPython Code Example into Mu (which I am growing to hate), and saved (ran) it as code.py.
Received the following error:
Traceback (most recent call last):
File "code.py", line 20, in <module>
MemoryError: memory allocation failed, allocating 7680 bytes

Code done running.

Now what have I done wrong? I know I should be positive in my postings but I am getting quite annoyed. I want to move on to some projects but can't get past the example codes.

User avatar
dastels
 
Posts: 15655
Joined: Tue Oct 20, 2015 3:22 pm

Re: Circuit Playground Express with Displayio

Post by dastels »

You're using the latest version of CircuitPython and libraries?

If so, try using an older version. Maybe 6.x

There won't be any memory problems using C++/Arduino.

A better solution for CircuitPython is to switch to a CircuitPlayground Bluefruit which has a more capable MCU with significantly more memory.

Dave

User avatar
FrankBS
 
Posts: 32
Joined: Sat Feb 20, 2021 12:27 pm

Re: Circuit Playground Express with Displayio

Post by FrankBS »

Thanks.
Will keep in mind.
Got things working now with Feather2040 and display Featherwing.

Locked
Please be positive and constructive with your questions and comments.

Return to “Circuit Playground Classic, Circuit Playground Express, Circuit Playground Bluefruit”