This commit is contained in:
Simon Schmidt 2021-09-07 10:42:16 +02:00
parent c95ea1ed22
commit a0f5ec26d2
2 changed files with 2 additions and 2 deletions

View File

@ -355,7 +355,7 @@ void Treppe::setup() {
// 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

View File

@ -22,7 +22,7 @@ extern "C" {
#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;