kolossos4730 wrote: 
> Steen, please be kind to my programming skills :D
> 
> With the latest piCorePlayer, I would like to test if it is possible to
> turn off the display before a shutdown. I'll have a look at Ralphy's
> code how this is done.
> 
> Regards,
> 
> Arie
Hi Arie

Don't worry, I'm sure your programming skills are better than mine.

To turn off and on the backlight you can send this command:
sudo echo 1 > /sys/class/backlight/rpi_backlight/bl_power

sudo echo 0 > /sys/class/backlight/rpi_backlight/bl_power

Regards
Steen



piCorePlayer a small player for the Raspberry Pi in RAM. 
Homepage: https://sites.google.com/site/picoreplayer/home

*Please 'donate'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=U7JHY5WYHCNRU&lc=GB&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted)
if you like the piCorePlayer*
------------------------------------------------------------------------
sbp's Profile: http://forums.slimdevices.com/member.php?userid=37237
View this thread: http://forums.slimdevices.com/showthread.php?t=97803

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to