Posts: 28
Threads: 5
Joined: Apr 2019
Reputation:
0
I'd like the screen brightness slider function from Retropie to stick through power downs and power ups. I don't have or really have to have automated ambient sensing using some photocell or similar. It would just be a nice quality-of-life addition to the unit. Is that possible?
Posts: 28
Threads: 5
Joined: Apr 2019
Reputation:
0
It did work, thanks. If I understand the command right, the RPI interface writes brightness settings to fpbrightness.val and you're just pulling that on boot to the pulsewidth modulator? (I don't work with displays very often, but mildly curious)
Posts: 283
Threads: 14
Joined: Oct 2018
Reputation:
10
04-22-2019, 08:20 AM
(This post was last modified: 04-22-2019, 08:23 AM by Porcinus.)
I am passing the value from 'fpbrightness.val' to 'setPCA9633' pwm0 argument.
Freeplay motherboards use PCA9633 to control backlight, 'setPCA9633' is a program to control it.
Posts: 1,610
Threads: 19
Joined: Feb 2012
Reputation:
29
I'm sorry. I was out of town for the past 10 days or so.
As a followup on this, could you post the output from these commands, Bedwyr?
cat /boot/freeplaycfg.txt
cat /home/pi/Freeplay/setPCA9633/setFreeplayBacklight.sh
cat /etc/rc.local
I want to see if I can figure out what has caused this to happen in the first place. Maybe you just had an older SD image file, but I'd like to see.