I am having a problem and I am a total noob to what referst to programing/coding:
I have a screen which is very bright and I do not know how to drop it.
I found this on kites project but I do not know were to paste it:
Code: Select all
// BACKLIGHT
#define BL_UP 1
#define BL_DOWN 0
#define BL_MIN 0
#define BL_MAX 100
#define BL_INC 10
#define BL_PWM_MIN 235 // High val = LOW
#define BL_PWM_MAX 0 // 0 = FULL ON
I am thinking about two solutions
1) I could modify the GPIO to make an three buttons: one of them would be theFunktion botton, the other two + and -. Then comes the question: what should I add to the cmdline.txt?
I am using a Teensyboard LC, should I actually soder those buttons to the Teensy? which lines should I add to the Teensy in order to have a MODE a + and a - button?
2) Instead of adding an extra Button I could just try to map the hotkey to my keyboard, which it would be less cooler but it would do the job.
in both cases, which lines do I need to add and to which Document?
I am really really confused so I would really apreciate any help (even just a link to a topic would do)
Thanks in advance