Reduce fade out duration
This commit is contained in:
parent
09711d12d0
commit
8063a1685c
1 changed files with 4 additions and 3 deletions
|
@ -4,7 +4,7 @@
|
|||
#include <Arduino.h>
|
||||
|
||||
#define FADE_IN_DURATION 500
|
||||
#define FADE_OUT_DURATION 2000
|
||||
#define FADE_OUT_DURATION 1000
|
||||
|
||||
LEDOutput _seatingLedOutput(0, true);
|
||||
LED _seatingLeds("seating", &_seatingLedOutput, FADE_IN_DURATION, FADE_OUT_DURATION);
|
||||
|
@ -20,6 +20,7 @@ BluetoothService _btService("Van Lights", &_btCallback);
|
|||
|
||||
void setup() {
|
||||
Serial.begin(115200);
|
||||
|
||||
_seatingLedOutput.attach(16);
|
||||
_seatingLedOutput.attach(17);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue