diff --git a/JackBotEsp32.ino b/JackBotEsp32.ino index 89dc6d0..29515b1 100644 --- a/JackBotEsp32.ino +++ b/JackBotEsp32.ino @@ -57,9 +57,9 @@ static void queueDisplayText(const char* text, uint16_t color) { void setup() { Serial.begin(115200); + delay(500); Wire.begin(); Wire.setClock(400000); - motion.begin(); motionQueue = xQueueCreate(1, sizeof(MotionFrame)); @@ -71,7 +71,7 @@ void setup() { } if (xTaskCreate(servoTask, "Servo", 4096, nullptr, 3, nullptr) != pdPASS || - xTaskCreate(displayTask, "Display", 4096, nullptr, 1, nullptr) != pdPASS) { + xTaskCreate(displayTask, "Display", 8192, nullptr, 1, nullptr) != pdPASS) { Serial.println("Failed to create application tasks"); while (true) delay(1000); }