Hello!
Here's a program which turns off LCD backlight if the HOLD button pressed and enables again if unpressed.
The code is very, very bad(I think) because that's my first application on C.
Enjoy! And feel free to rewrite it as it really should be!
To autostart add to /local/sbin/main before './gmenu2x' following:
/boot/path/to/hold &
Here's a program which turns off LCD backlight if the HOLD button pressed and enables again if unpressed.
The code is very, very bad(I think) because that's my first application on C.
Enjoy! And feel free to rewrite it as it really should be!
To autostart add to /local/sbin/main before './gmenu2x' following:
/boot/path/to/hold &