Is it possible to make multiple tasks in a competition template? Usually I would put
but since the competition controls the start of each task, would this work? I am trying to make some decorative LEDs light up in a certain order repeatedly. I am using RobotC. Thanks!
Yes, you can create tasks and place them in the top of your program, then start (and stop) those tasks inside the autonomous portion or the user control (driver) portion of your code.
EDIT: However, if you started a task in autonomous, you might need to restart it in the user control. I think the competition controls will shut down tasks between modes.
Thanks! Ill test it out on the robot on Thursday and report back then.
Everything works fine, thanks!