Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: RTOS-Threads/inc/Task2.h
- Revision:
- 1:43f8ac7ca6d7
- Child:
- 2:ab967d7b4346
diff -r 8c28fac22d27 -r 43f8ac7ca6d7 RTOS-Threads/inc/Task2.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/RTOS-Threads/inc/Task2.h Tue Apr 29 11:02:18 2014 +0000 @@ -0,0 +1,14 @@ +#include "mbed.h" +#include "rtos.h" +#include "tasks.h" + +#ifndef _TASK2_H_ +#define _TASK2_H_ + +#define TASK2_PERIOD 1000/TASK2_FREQUENCY + +/* Update ESC */ +/* 200Hz <= PWM frequency <= 400Hz */ +void Task2(void const *argument); + +#endif