mirror of
https://github.com/esphome/esphome.git
synced 2025-01-08 13:51:43 +01:00
MAX6921: increase PWM frequency of BLANK pin to stabilize display on low intensity
This commit is contained in:
parent
0708b9734e
commit
fc90baf380
1 changed files with 1 additions and 1 deletions
|
@ -143,7 +143,7 @@ const uint8_t ASCII_TO_SEG[95] PROGMEM = {
|
|||
|
||||
void MAX6921Component::init_display_(void) {
|
||||
uint32_t freq;
|
||||
const uint32_t PWM_FREQ_WANTED = 500;
|
||||
const uint32_t PWM_FREQ_WANTED = 5000;
|
||||
const uint8_t PWM_RESOLUTION = 8;
|
||||
|
||||
// setup PWM for blank pin (intensity)...
|
||||
|
|
Loading…
Reference in a new issue