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.
RTOS-Threads/inc/Task2.h@12:953d25061417, 2014-05-02 (annotated)
- Committer:
- pHysiX
- Date:
- Fri May 02 17:01:56 2014 +0000
- Revision:
- 12:953d25061417
- Parent:
- 10:ef5fe86f67fe
- Child:
- 20:b193a50a2ba3
Added in all sensors. Need to add in EEPROM to complete control of Tilty. Finished all telemetry output and appropriate data rates.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
pHysiX | 1:43f8ac7ca6d7 | 1 | #include "mbed.h" |
pHysiX | 1:43f8ac7ca6d7 | 2 | #include "rtos.h" |
pHysiX | 1:43f8ac7ca6d7 | 3 | #include "tasks.h" |
pHysiX | 1:43f8ac7ca6d7 | 4 | |
pHysiX | 1:43f8ac7ca6d7 | 5 | #ifndef _TASK2_H_ |
pHysiX | 1:43f8ac7ca6d7 | 6 | #define _TASK2_H_ |
pHysiX | 1:43f8ac7ca6d7 | 7 | |
pHysiX | 1:43f8ac7ca6d7 | 8 | #define TASK2_PERIOD 1000/TASK2_FREQUENCY |
pHysiX | 1:43f8ac7ca6d7 | 9 | |
pHysiX | 3:605fbcb54e75 | 10 | extern int yaw_adjust; |
pHysiX | 3:605fbcb54e75 | 11 | extern int pitch_adjust; |
pHysiX | 3:605fbcb54e75 | 12 | extern int roll_adjust; |
pHysiX | 3:605fbcb54e75 | 13 | |
pHysiX | 10:ef5fe86f67fe | 14 | extern bool counterESC; |
pHysiX | 10:ef5fe86f67fe | 15 | |
pHysiX | 12:953d25061417 | 16 | /* Gyro & PID */ |
pHysiX | 1:43f8ac7ca6d7 | 17 | void Task2(void const *argument); |
pHysiX | 1:43f8ac7ca6d7 | 18 | |
pHysiX | 1:43f8ac7ca6d7 | 19 | #endif |