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:
- 38:ef65533cca32
- Parent:
- 36:d95e3d6f2fc4
- Child:
- 39:02782ad251db
--- a/RTOS-Setup/inc/tasks.h Tue May 13 05:28:05 2014 +0000 +++ b/RTOS-Setup/inc/tasks.h Tue May 13 13:05:03 2014 +0000 @@ -21,14 +21,14 @@ #define IMU_FIFO_RATE_DIVIDER 0x00 // Frequency (Hz): -#define TASK1_FREQUENCY 50 -#define TASK2_MASTER_FREQUENCY 200 -#define TASK2_SLAVE_FREQUENCY 400 -#define TASK3_FREQUENCY 50 -#define TASK4_FREQUENCY 400 +#define TASK1_FREQUENCY 50 +#define TASK2_MASTER_FREQUENCY 100 +#define TASK2_SLAVE_FREQUENCY 400 +#define TASK3_FREQUENCY 50 +#define TASK4_FREQUENCY 400 -#define ESC_FREQUENCY 400 -#define ESC_PERIOD_US 1000000/ESC_FREQUENCY +#define ESC_FREQUENCY 400 +#define ESC_PERIOD_US 1000000/ESC_FREQUENCY void createThreads(void);