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

@@ -355,7 +355,7 @@ void Treppe::setup() {
// see also lib/PCA9685-Arduin/PCA9685.h:204
pwmController.init(PCA9685_PhaseBalancer_None);
// pwmController.init(PCA9685_PhaseBalancer_Linear);
pwmController.setPWMFrequency(100);
pwmController.setPWMFrequency(200);
// pwmController.setAllChannelsPWM(idle_pwm);

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

+ 1
- 1
src/main.cpp View File

@@ -22,7 +22,7 @@ extern "C" {
#include "treppe.h"
os_timer_t timer1;
uint8_t timer_flag = 0;
Treppe stairs(16);
Treppe stairs(12);

// WIFI
const char *ssid = STASSID;

Loading…
Cancel
Save