Browse Source

hotfix

singleLED
Simon Schmidt 2 years ago
parent
commit
a0f5ec26d2
2 changed files with 2 additions and 2 deletions
  1. 1
    1
      lib/treppe/treppe.cpp
  2. 1
    1
      src/main.cpp

+ 1
- 1
lib/treppe/treppe.cpp View File

// see also lib/PCA9685-Arduin/PCA9685.h:204 // see also lib/PCA9685-Arduin/PCA9685.h:204
pwmController.init(PCA9685_PhaseBalancer_None); pwmController.init(PCA9685_PhaseBalancer_None);
// pwmController.init(PCA9685_PhaseBalancer_Linear); // pwmController.init(PCA9685_PhaseBalancer_Linear);
pwmController.setPWMFrequency(100);
pwmController.setPWMFrequency(200);
// pwmController.setAllChannelsPWM(idle_pwm); // pwmController.setAllChannelsPWM(idle_pwm);


// WARNING: before getting Parameters of Flash, make sure plausible parameters // WARNING: before getting Parameters of Flash, make sure plausible parameters

+ 1
- 1
src/main.cpp View File

#include "treppe.h" #include "treppe.h"
os_timer_t timer1; os_timer_t timer1;
uint8_t timer_flag = 0; uint8_t timer_flag = 0;
Treppe stairs(16);
Treppe stairs(12);


// WIFI // WIFI
const char *ssid = STASSID; const char *ssid = STASSID;

Loading…
Cancel
Save