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:
- 22:ef8aa9728013
- Parent:
- 16:9072cd6fa8d1
- Child:
- 26:4a3323ee36d5
--- a/RTOS-Setup/inc/tasks.h Thu May 08 09:39:12 2014 +0000 +++ b/RTOS-Setup/inc/tasks.h Thu May 08 10:33:43 2014 +0000 @@ -1,3 +1,9 @@ +/* File: tasks.h + * Author: Trung Tin Ian HUA + * Date: May 2014 + * Purpose: Code to intialise and start all threads. + */ + #include "mbed.h" #include "rtos.h" @@ -14,6 +20,7 @@ // Fsample Hz / (1 + 0) = 100 Hz #define IMU_FIFO_RATE_DIVIDER 0x00 +// Frequency (Hz): #define TASK1_FREQUENCY 100 #define TASK2_FREQUENCY 200 #define TASK3_FREQUENCY 50