RAM Issue - Need Help

CircuitPython on hardware including Adafruit's boards, and CircuitPython libraries using Blinka on host computers.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
Drewit77
 
Posts: 6
Joined: Thu Mar 03, 2022 6:43 pm

RAM Issue - Need Help

Post by Drewit77 »

Hello everyone... What is the process for conserving RAM on a Circuit Playground Express?
The only functions being used are Lights and Sound. How do I turn everything else off while it is not being used? I am not utilizing the following: Light Sensor, Temp Sensor, Motion Sensor, Microphone, Accelerometer, etc.
thx
Andrew

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

Re: RAM Issue - Need Help

Post by dastels »

You should look at not using the CircuitPlayground class and manage the use of the NeoPixels and sound yourself. You can look at how that's done at https://github.com/adafruit/Adafruit_Ci ... nd_base.py.

Dave

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

Return to “Adafruit CircuitPython”