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-Setup/inc/setup.h
- Committer:
- pHysiX
- Date:
- 2014-04-29
- Revision:
- 2:ab967d7b4346
- Parent:
- 1:43f8ac7ca6d7
- Child:
- 3:605fbcb54e75
File content as of revision 2:ab967d7b4346:
#include "mbed.h"
#include "MPU6050_6Axis_MotionApps20.h"
#ifndef _SETUP_H_
#define _SETUP_H_
#define ESC_FREQUENCY 400
#define ESC_PERIOD_US 1000000/ESC_FREQUENCY
extern Serial BT;
extern DigitalOut BT_CMD;
extern MPU6050 imu;
extern uint16_t packetSize;
extern DigitalOut LED[];
extern PwmOut ESC1;
extern PwmOut ESC2;
extern PwmOut ESC3;
extern PwmOut ESC4;
bool setup_ESC(void);
bool setup_led(void);
bool setup_bt(void);
bool setup_mpu6050(void);
#endif