Compare commits

...

3 Commits

2 changed files with 2 additions and 2 deletions
BIN
View File
Binary file not shown.
+2 -2
View File
@@ -57,9 +57,9 @@ static void queueDisplayText(const char* text, uint16_t color) {
void setup() { void setup() {
Serial.begin(115200); Serial.begin(115200);
delay(500);
Wire.begin(); Wire.begin();
Wire.setClock(400000); Wire.setClock(400000);
motion.begin(); motion.begin();
motionQueue = xQueueCreate(1, sizeof(MotionFrame)); motionQueue = xQueueCreate(1, sizeof(MotionFrame));
@@ -71,7 +71,7 @@ void setup() {
} }
if (xTaskCreate(servoTask, "Servo", 4096, nullptr, 3, nullptr) != pdPASS || 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"); Serial.println("Failed to create application tasks");
while (true) delay(1000); while (true) delay(1000);
} }