// 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); |