Compare commits
1 Commits
0fd4fe5b57
..
main
| Author | SHA1 | Date | |
|---|---|---|---|
| f188296943 |
+2
-2
@@ -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);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user