Browse Source

Using NMI timer for PWM, avoids flickering

fastled
Xose Pérez 7 years ago
parent
commit
60138b0b44
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      code/espurna/config/general.h
  2. +1
    -1
      code/espurna/pwm.c

+ 1
- 1
code/espurna/config/general.h View File

@ -731,7 +731,7 @@ PROGMEM const char* const custom_reset_string[] = {
// 24 Buttons Set of the IR Remote
#ifndef IR_BUTTON_SET
#define IR_BUTTON_SET 1
#define IR_BUTTON_SET 1 // IR button set to use (see below)
#endif
// IR Button modes


+ 1
- 1
code/espurna/pwm.c View File

@ -25,7 +25,7 @@
#define PWM_MAX_CHANNELS 8
#endif
#define PWM_DEBUG 0
#define PWM_USE_NMI 0
#define PWM_USE_NMI 1
/* no user servicable parts beyond this point */


Loading…
Cancel
Save