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-Setup/inc/tasks.h@2:ab967d7b4346, 2014-04-29 (annotated)
- Committer:
- pHysiX
- Date:
- Tue Apr 29 11:43:32 2014 +0000
- Revision:
- 2:ab967d7b4346
- Parent:
- 1:43f8ac7ca6d7
- Child:
- 3:605fbcb54e75
Added in simple ESC initialise
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 | |
pHysiX | 1:43f8ac7ca6d7 | 4 | #ifndef _TASKS_H_ |
pHysiX | 1:43f8ac7ca6d7 | 5 | #define _TASKS_H_ |
pHysiX | 1:43f8ac7ca6d7 | 6 | |
pHysiX | 1:43f8ac7ca6d7 | 7 | #include "Task1.h" |
pHysiX | 1:43f8ac7ca6d7 | 8 | #include "Task2.h" |
pHysiX | 1:43f8ac7ca6d7 | 9 | #include "Task3.h" |
pHysiX | 1:43f8ac7ca6d7 | 10 | #include "Task4.h" |
pHysiX | 1:43f8ac7ca6d7 | 11 | |
pHysiX | 1:43f8ac7ca6d7 | 12 | #define TASK1_FREQUENCY 250 |
pHysiX | 1:43f8ac7ca6d7 | 13 | #define TASK2_FREQUENCY 100 |
pHysiX | 1:43f8ac7ca6d7 | 14 | #define TASK3_FREQUENCY 50 |
pHysiX | 2:ab967d7b4346 | 15 | #define TASK4_FREQUENCY 100 |
pHysiX | 1:43f8ac7ca6d7 | 16 | |
pHysiX | 1:43f8ac7ca6d7 | 17 | void ledReset(void); |
pHysiX | 1:43f8ac7ca6d7 | 18 | |
pHysiX | 1:43f8ac7ca6d7 | 19 | #endif |