MOD54415 HiRes Timer vs Watchdog

for everything else
User avatar
dciliske
Posts: 624
Joined: Mon Feb 06, 2012 9:37 am
Location: San Diego, CA
Contact:

Re: MOD54415 HiRes Timer vs Watchdog

Post by dciliske »

Your task function doesn't take an argument. The data type required by taskcreate does. Make your function take a 'void *'. Note that this is not the same as declaring the function as taking 'void'.
Dan Ciliske
Project Engineer
Netburner, Inc
jediengineer
Posts: 192
Joined: Mon Dec 17, 2012 6:24 am

Re: MOD54415 HiRes Timer vs Watchdog

Post by jediengineer »

Never mind, I figured it out - forgot the "void*" in the task name.
jediengineer
Posts: 192
Joined: Mon Dec 17, 2012 6:24 am

Re: MOD54415 HiRes Timer vs Watchdog

Post by jediengineer »

Aah, beat me to it Dan. I'll report back tomorrow after I've had a chance to fiddle with this for the evening. Thanks again for the help!!!
jediengineer
Posts: 192
Joined: Mon Dec 17, 2012 6:24 am

Re: MOD54415 HiRes Timer vs Watchdog

Post by jediengineer »

The system works. I think I now understand semaphores much better, thanks Dan and Ridgeglider. I appreciate the help!

Tony
Post Reply