Compare commits
3 Commits
da0182ba75
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| f188296943 | |||
| 0fd4fe5b57 | |||
| 6a5f296423 |
BIN
Binary file not shown.
+2
-2
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user