MAX6921: increase PWM frequency of BLANK pin to stabilize display on low intensity

This commit is contained in:
endym 2024-03-19 23:04:42 +01:00
parent 0708b9734e
commit fc90baf380

View file

@ -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)...