leds light up at boot

This commit is contained in:
Dominik Bartsch 2021-06-25 15:17:38 +02:00
parent 7e5a6fac9f
commit a8ceb258b8

View File

@ -98,6 +98,7 @@ void Treppe::setup(){
// see also lib/PCA9685-Arduin/PCA9685.h:204
pwmController.init(PCA9685_PhaseBalancer_None);
pwmController.setPWMFrequency(200);
pwmController.setAllChannelsPWM(idle_brightness);
pinMode(SENSOR1, INPUT);
pinMode(SENSOR2, INPUT);