andjo wrote: > Great & thanks for your responses. > Meanwhile I got the usb version of the monitor an adopted the pdf. I > also copied the long codes into text boxes - so copy & paste should now > work correctly. > Cheers > 26045
Thank for the excellent guide. I am now working to turn the screen backlight off when the player is stopped. Waveshare has a very good document for controlling the backlight. https://www.waveshare.com/w/upload/5/56/PWM_control_backlight_manual.pdf (Some soldering required) Simple script gpio -g pwm 18 1024 gpio -g mode 18 pwm #set the pin as PWM gpio pwmc 1000 gpio -g pwm 18 X #change the brightness, X ranges 0~1024 I have a GPIO 18 conflict with the HIfiberry but I am just looking for on/off. gpio -g mode 23 out gpio -g write 23 1 gpio -g write 23 0 I could use some help running a script based on the player's on/off status. ------------------------------------------------------------------------ nogauss's Profile: http://forums.slimdevices.com/member.php?userid=7710 View this thread: http://forums.slimdevices.com/showthread.php?t=109619 _______________________________________________ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix