diff --git a/software/platformio.ini b/software/platformio.ini index 390992e..02e4b78 100644 --- a/software/platformio.ini +++ b/software/platformio.ini @@ -22,8 +22,8 @@ lib_deps = ; AsyncTCP FS ; FastLED -; https://github.com/samguyer/FastLED.git - https://github.com/h3ndrik/FastLED.git + https://github.com/samguyer/FastLED.git +; https://github.com/h3ndrik/FastLED.git ; AsyncMqttClient https://github.com/marvinroger/async-mqtt-client.git ArduinoJson diff --git a/software/src/led.cpp b/software/src/led.cpp index 13ab8cc..756a644 100644 --- a/software/src/led.cpp +++ b/software/src/led.cpp @@ -80,7 +80,7 @@ void Led::setup(void) { xTaskCreate( &cTaskWrapper, /* Task function. */ "ledAnimationTask", /* String with name of task. */ - 2048, /* Stack size in words. */ + 1024, /* Stack size in words. */ this, /* Parameter passed as input of the task */ tskIDLE_PRIORITY+3, /* Priority of the task. */ &ledTaskHandle); /* Task handle. */ diff --git a/software/src/pusher.cpp b/software/src/pusher.cpp index b2231ee..74ce296 100644 --- a/software/src/pusher.cpp +++ b/software/src/pusher.cpp @@ -13,7 +13,7 @@ Pusher::Pusher(void) { } void Pusher::setup(void) { - int channel = LEDC_TIMER_0; + int channel = 13; // LEDC_CHANNEL_3 // beware: some channels interfere with the rmt peripheral used by FastLED ledcSetup(channel, 50, TIMER_WIDTH); for(int pin : SERVO_PINS) { if (xSemaphoreTake(xSemaphore, TIMEOUT) == pdTRUE) {