|
Re: Tasks in C++
Here's our team's task-creation class. Basically, you just implement your own Run() when inheriting from it. Credit to 254 for the genesis of this code.
https://github.com/bobwolff68/FRCTea.../jankyTask.cpp
And here's a project which uses the task - the team created this in order to better understand how multi-tasking works. Take a look and ask questions if you have any.
https://github.com/bobwolff68/FRCTea...nkyTaskTestjig
Bob
__________________
~~~~~~~~~~~~~~~~~~~
Bob Wolff - Software from the old-school
Mentor / C / C++ guy
Team 1967 - The Janksters - San Jose, CA
|