diff options
author | Daniel Schaefer <[email protected]> | 2023-09-03 20:56:02 +0800 |
---|---|---|
committer | GitHub <[email protected]> | 2023-09-03 14:56:02 +0200 |
commit | dd887eae360098cd13939d252c772bb95735e0e9 (patch) | |
tree | 6694375af1101e23cef212f52248a1f73331f3b8 /docs | |
parent | 911c715f49f757eae6490d3d0426ee4ccf30ea2a (diff) | |
download | qmk_firmware-dd887eae360098cd13939d252c772bb95735e0e9.tar.gz qmk_firmware-dd887eae360098cd13939d252c772bb95735e0e9.zip |
[Core] Allow customizing PWM frequency (#21717)
* [Core] Allow customizing PWM frequency
Some frequencies can cause audible noise. Changing the frequency
eliminates that.
Signed-off-by: Daniel Schaefer <[email protected]>
* docs/feature-backlight: Mention PWM frequency
Signed-off-by: Daniel Schaefer <[email protected]>
---------
Signed-off-by: Daniel Schaefer <[email protected]>
Diffstat (limited to 'docs')
-rw-r--r-- | docs/feature_backlight.md | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/feature_backlight.md b/docs/feature_backlight.md index d032c33f18..2f9381e3dc 100644 --- a/docs/feature_backlight.md +++ b/docs/feature_backlight.md @@ -39,6 +39,7 @@ Add the following to your `config.h`: |`BACKLIGHT_LIMIT_VAL` |`255` |The maximum duty cycle of the backlight -- `255` allows for full brightness, any lower will decrease the maximum.| |`BACKLIGHT_DEFAULT_LEVEL` |`BACKLIGHT_LEVELS`|The default backlight level to use upon clearing the EEPROM | |`BACKLIGHT_DEFAULT_BREATHING`|*Not defined* |Whether to enable backlight breathing upon clearing the EEPROM | +|`BACKLIGHT_PWM_PERIOD` |2048Hz |Defaults to `BACKLIGHT_PWM_COUNTER_FREQUENCY / 2048`, which results in a PWM frequency of 2048Hz. | Unless you are designing your own keyboard, you generally should not need to change the `BACKLIGHT_PIN` or `BACKLIGHT_ON_STATE`. |