You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed 100% CPU with my application on a Raspberry Pi, even I have several seconds sleep in my loop. I use auto_refresh = False
I can reproduce that behaviour with these modifications of examples/displayio_ssd1306_simpletest.py
from time import sleep
...
display = adafruit_displayio_ssd1306.SSD1306(display_bus, width=WIDTH, height=HEIGHT, auto_refresh=False)
...
display.auto_refresh = False # just to be sure
while True:
display.refresh()
sleep(5)
How can I bring down the CPU usage?
The text was updated successfully, but these errors were encountered:
I noticed 100% CPU with my application on a Raspberry Pi, even I have several seconds sleep in my loop. I use auto_refresh = False
I can reproduce that behaviour with these modifications of examples/displayio_ssd1306_simpletest.py
How can I bring down the CPU usage?
The text was updated successfully, but these errors were encountered: