qmk_firmware/quantum/backlight
Mikkel Jeppesen e0a5056963
Made AVR backlight pwm resolution configurable (#7521)
* Made static backlight pwm resolution configurable

* Made breathing backlighting configurable too

* Finished my ifdef

* Ran clang-format

* Added missing semi-colon

* Solved weird behaviour by right-shifting the right amount

* Made breathing period scaled on actual pwm frequency

* Made the low end deadzone scaled on the top value

* Moved 'pwm_frequency' declaration outside ifdef

* Fixed 'never used' error

* Fixed 'never used' error

* Fixed breathing ISR to 120Hz

* Removed pwm_frequency constant
Constant is no longer needed since running the breathing ISR at a fixed 120Hz

* Re-add brightness limiting

* re-introduce scaling
2021-11-18 07:56:13 +11:00
..
backlight.c
backlight.h
backlight_avr.c Made AVR backlight pwm resolution configurable (#7521) 2021-11-18 07:56:13 +11:00
backlight_chibios.c fix typo in backlight code from #14439 (#14442) 2021-09-15 03:37:45 +01:00
backlight_driver_common.c
backlight_driver_common.h
backlight_software.c
backlight_timer.c