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/setup.h
- Revision:
- 3:605fbcb54e75
- Parent:
- 2:ab967d7b4346
- Child:
- 4:01921a136f58
--- a/RTOS-Setup/inc/setup.h Tue Apr 29 11:43:32 2014 +0000 +++ b/RTOS-Setup/inc/setup.h Tue Apr 29 14:53:32 2014 +0000 @@ -1,5 +1,6 @@ #include "mbed.h" #include "MPU6050_6Axis_MotionApps20.h" +#include "PID.h" #ifndef _SETUP_H_ #define _SETUP_H_ @@ -14,16 +15,18 @@ extern MPU6050 imu; extern uint16_t packetSize; -extern DigitalOut LED[]; +//extern DigitalOut LED[]; + +extern PID yawPIDrate; +extern PID pitchPIDrate; +extern PID rollPIDrate; -extern PwmOut ESC1; -extern PwmOut ESC2; -extern PwmOut ESC3; -extern PwmOut ESC4; +extern PwmOut ESC[4]; +bool setupALLdevices(void); bool setup_ESC(void); -bool setup_led(void); bool setup_bt(void); +bool setup_PID(void); bool setup_mpu6050(void); #endif