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-Threads/inc/Task2_Slave.h
- Revision:
- 36:d95e3d6f2fc4
- Parent:
- 30:d9b988f8d84f
- Child:
- 38:ef65533cca32
--- a/RTOS-Threads/inc/Task2_Slave.h Tue May 13 02:44:10 2014 +0000 +++ b/RTOS-Threads/inc/Task2_Slave.h Tue May 13 04:05:34 2014 +0000 @@ -1,9 +1,11 @@ -/* File: Task2_Slave.h +/* File: Task2_Slave.cpp * Author: Trung Tin Ian HUA * Date: May 2014 - * Purpose: Thread2-Slave: Gyro sample and Rate PID Control - * Settings: 200Hz - */ + * Purpose: Thread2S: Slave PID control loop (rate) + * Functions: Gyro sample + * Settings: 400Hz + * Timing: 290us + */ #include "mbed.h" #include "rtos.h" #include "tasks.h" @@ -20,5 +22,6 @@ /* Thread2-Slave: Gyro sample and Rate PID Control */ void Task2_Slave(void const *argument); +void gyroSample(void); #endif