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.
Circuit Playground Express with Displayio
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- dastels
- Posts: 15655
- Joined: Tue Oct 20, 2015 3:22 pm
Re: Circuit Playground Express with Displayio
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
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
- FrankBS
- Posts: 32
- Joined: Sat Feb 20, 2021 12:27 pm
Re: Circuit Playground Express with Displayio
Thanks.
Will keep in mind.
Got things working now with Feather2040 and display Featherwing.
Will keep in mind.
Got things working now with Feather2040 and display Featherwing.
Please be positive and constructive with your questions and comments.