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-Setup/inc/tasks.h
- Revision:
- 3:605fbcb54e75
- Parent:
- 2:ab967d7b4346
- Child:
- 9:371950017779
--- a/RTOS-Setup/inc/tasks.h Tue Apr 29 11:43:32 2014 +0000 +++ b/RTOS-Setup/inc/tasks.h Tue Apr 29 14:53:32 2014 +0000 @@ -9,11 +9,14 @@ #include "Task3.h" #include "Task4.h" +// 1khz / (1 + 4) = 200 Hz +#define IMU_SAMPLE_RATE_DIVIDER 4 + #define TASK1_FREQUENCY 250 #define TASK2_FREQUENCY 100 #define TASK3_FREQUENCY 50 #define TASK4_FREQUENCY 100 -void ledReset(void); +void createThreads(void); #endif