Home of the Squeezebox™ & Transporter® network music players.
Page 7 of 7 FirstFirst ... 567
Results 61 to 63 of 63
  1. #61
    Junior Member
    Join Date
    Nov 2018
    Location
    Austria
    Posts
    12
    Glad I could help out...
    Cheers

  2. #62
    Senior Member
    Join Date
    Jun 2013
    Location
    Bavaria
    Posts
    175

    Display off

    So, the waveshare b Display (the usb one) is running. If i push the on off button on the screen, the Display is off but the backlight is on. Is it possible to switch the backlight with the touchscreen off?. On the back of the screen is a switch, but this is not available if the screen is installed. Thanks a lot
    Odroid U3, Raspberry 1-3, 2*Touch, 4*Radio, Ipeng, Squeezecontrol aso.

  3. #63
    Junior Member
    Join Date
    Sep 2006
    Posts
    28

    Thank you very much!

    Quote Originally Posted by andjo View Post
    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
    Attachment 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...ght_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

    No need for a script to turn the display on/off.
    I just set Squeezelite Settings - Power On/Off GPIO to "23" and Active Low.

    Works like a charm.
    Last edited by nogauss; 2019-03-17 at 07:30.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •