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
Noticed that indenting the sleep(1) command in the autobrightness.py got the CPU usage to die down. I do not believe sleep was getting used in the script by default. Not a python guy so maybe I am missing something, but that worked for me.
The text was updated successfully, but these errors were encountered:
Noticed that indenting the sleep(1) command in the autobrightness.py got the CPU usage to die down. I do not believe sleep was getting used in the script by default. Not a python guy so maybe I am missing something, but that worked for me.
The SLEEP was not inside the WHILE loop, so the script was looping at the native frequency of whatever CPU it was running on and flogging the CPU core.
It was causing my Pi4 to overheat and lock up.
A minor typo on the creator's behalf, but easily fixed.
I forked it here with the fix and also resolved some of the permission issues as well as adding support for Waveshare displays.
Noticed that indenting the sleep(1) command in the autobrightness.py got the CPU usage to die down. I do not believe sleep was getting used in the script by default. Not a python guy so maybe I am missing something, but that worked for me.
The text was updated successfully, but these errors were encountered: