|
|
@@ -139,8 +139,8 @@ void Treppe::setup(){ |
|
|
|
// Deactive PCA9685 Phase Balancer due to LED Flickering |
|
|
|
// https://github.com/NachtRaveVL/PCA9685-Arduino/issues/15 |
|
|
|
// see also lib/PCA9685-Arduin/PCA9685.h:204 |
|
|
|
//pwmController.init(PCA9685_PhaseBalancer_None); |
|
|
|
pwmController.init(PCA9685_PhaseBalancer_Linear); |
|
|
|
pwmController.init(PCA9685_PhaseBalancer_None); |
|
|
|
//pwmController.init(PCA9685_PhaseBalancer_Linear); |
|
|
|
pwmController.setPWMFrequency(100); |
|
|
|
pwmController.setAllChannelsPWM(idle_brightness); |
|
|
|
|
|
|
@@ -199,7 +199,6 @@ void Treppe::task(){ |
|
|
|
|
|
|
|
ledsequence(); |
|
|
|
|
|
|
|
Serial.printf("LDR raw: %d\n", analogRead(A0)); |
|
|
|
} |
|
|
|
|
|
|
|
|