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:
- 50:8a0accb23007
- Parent:
- 38:ef65533cca32
- Child:
- 51:04c6af4319e1
--- a/RTOS-Threads/inc/Task2_Slave.h Mon May 19 13:33:34 2014 +0000 +++ b/RTOS-Threads/inc/Task2_Slave.h Mon May 19 14:16:47 2014 +0000 @@ -20,9 +20,15 @@ extern volatile int gyro[3]; extern bool counterESC; +extern Semaphore sem_Task2_Slave; + /* Thread2-Slave: Gyro sample and Rate PID Control */ void Task2_Slave(void const *argument); + +// ======================== +// === Helper functions === +// ======================== +void Task2_Slave_ISR(void const *argument); void gyroSample(void); -float deadbandGyroYaw(float input); #endif