mirror of
https://gitlab.dit.htwk-leipzig.de/phillip.kuehne/dezibot.git
synced 2025-05-20 03:21:46 +02:00
vTask Testing
This commit is contained in:
parent
a476abb6b9
commit
5a731e5fa4
@ -31,6 +31,11 @@ void moveTask(void * moveForMs) {
|
||||
// Move forward for a certain amount of time.
|
||||
void Motion::move(uint32_t moveForMs) {
|
||||
xTaskCreate(moveTask, "Move", configMINIMAL_STACK_SIZE, (void*)moveForMs, 1, NULL);
|
||||
// analogWrite(MOTOR_LEFT_PIN, 128);
|
||||
// analogWrite(MOTOR_RIGHT_PIN, 128);
|
||||
// vTaskDelay(moveForMs);
|
||||
// analogWrite(MOTOR_LEFT_PIN, 0);
|
||||
// analogWrite(MOTOR_RIGHT_PIN, 0);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user