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.
RTOS-Threads/inc/Task2.h@1:43f8ac7ca6d7, 2014-04-29 (annotated)
- Committer:
- pHysiX
- Date:
- Tue Apr 29 11:02:18 2014 +0000
- Revision:
- 1:43f8ac7ca6d7
- Child:
- 2:ab967d7b4346
Tidy file structure: threads in separate files for easy navigation
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
pHysiX | 1:43f8ac7ca6d7 | 1 | #include "mbed.h" |
pHysiX | 1:43f8ac7ca6d7 | 2 | #include "rtos.h" |
pHysiX | 1:43f8ac7ca6d7 | 3 | #include "tasks.h" |
pHysiX | 1:43f8ac7ca6d7 | 4 | |
pHysiX | 1:43f8ac7ca6d7 | 5 | #ifndef _TASK2_H_ |
pHysiX | 1:43f8ac7ca6d7 | 6 | #define _TASK2_H_ |
pHysiX | 1:43f8ac7ca6d7 | 7 | |
pHysiX | 1:43f8ac7ca6d7 | 8 | #define TASK2_PERIOD 1000/TASK2_FREQUENCY |
pHysiX | 1:43f8ac7ca6d7 | 9 | |
pHysiX | 1:43f8ac7ca6d7 | 10 | /* Update ESC */ |
pHysiX | 1:43f8ac7ca6d7 | 11 | /* 200Hz <= PWM frequency <= 400Hz */ |
pHysiX | 1:43f8ac7ca6d7 | 12 | void Task2(void const *argument); |
pHysiX | 1:43f8ac7ca6d7 | 13 | |
pHysiX | 1:43f8ac7ca6d7 | 14 | #endif |