I have a Manga2 screen connected to a Raspberry Pi. So far "everything" works except the brightness. I do have a slider for the brightness and a display off time setting, but ofcourse it doesn't do anything.
I can set the brightness for the screen with this command:
printf "\r\rbacklight 100\r" > /dev/ttyACM0
Where the value 100 is ofcourse the brightness. If i change the value to 0 it will turn off the display, to 20 it will dim to 20% etc.
Is there a way to edit a script (or create a script) to make the slider and display off setting to call the line above with the selected brightness?