leds light up at boot
This commit is contained in:
parent
7e5a6fac9f
commit
a8ceb258b8
@ -98,6 +98,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.setPWMFrequency(200);
|
pwmController.setPWMFrequency(200);
|
||||||
|
pwmController.setAllChannelsPWM(idle_brightness);
|
||||||
|
|
||||||
pinMode(SENSOR1, INPUT);
|
pinMode(SENSOR1, INPUT);
|
||||||
pinMode(SENSOR2, INPUT);
|
pinMode(SENSOR2, INPUT);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user