Browse Source

leds light up at boot

tags/v0.4.0
Dominik Bartsch 3 years ago
parent
commit
a8ceb258b8
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      src/pwm.cpp

+ 1
- 0
src/pwm.cpp View File

// 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…
Cancel
Save