However, I'm running out of RAM in my CircuitPython program. I notice that importing the NeoTrellis library takes 83% of the available RAM:
Code: Select all
import gc
print(gc.mem_free()) # 15728 bytes free
from adafruit_neotrellis.neotrellis import NeoTrellis
print(gc.mem_free()) # 2672 bytes free
Thanks,
Justin
[1] "NeoTrellis Game" : https://learn.adafruit.com/neotrellis-box-game/overview
[2] "Adafruit Feather M0 Express - Designed for CircuitPython - ATSAMD21 Cortex M0" : https://www.adafruit.com/product/3403
[3] "Adafruit NeoTrellis RGB Driver PCB for 4x4 Keypad" : https://www.adafruit.com/product/3954
[4] "Building CircuitPython – Adding Frozen Modules" : https://learn.adafruit.com/building-cir ... en-modules