View Single Post
  #9   Spotlight this post!  
Unread 08-02-2012, 15:19
mikets's Avatar
mikets mikets is offline
Software Engineer
FRC #0492 (Titan Robotics)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Bellevue, WA
Posts: 667
mikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of light
Re: How to use tasks

Ah, try this instead.
Code:
static void TestTaskFunction(void)
{
    std::cout<<"task has been started"<<endl;
}
 
4174robot::4174robot()
{
    task1 = new Task("testtask", (FUNCPTR) TestTaskFunction);
}
__________________
Reply With Quote