Need help with error when trying to run multitask #1935
-
I am new to multitask so need your help
and call this function using I would like to understand if I miss anything but I got the error below:
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Hello, Looking into the Pybricks documentation for multitask In your multitask command you have a number of commands, that should be coroutines, so defined functions to solve this syntax error. So it might be something like:
|
Beta Was this translation helpful? Give feedback.
-
The parenthesis are missing: run_task(Flip_Motion) It should be: run_task(Flip_Motion()) |
Beta Was this translation helpful? Give feedback.
The parenthesis are missing:
It should be: