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.
Dependencies: mbed DCM_AHRS_GY80 PID MMA8451Q
Fork of quadCommand by
Diff: quadCommand/quadCommand.h
- Revision:
- 10:af3be8c6aad7
- Parent:
- 9:9e0d0ba5b6b1
- Child:
- 19:666261bbc111
--- a/quadCommand/quadCommand.h Sun Jun 09 23:56:44 2013 +0000 +++ b/quadCommand/quadCommand.h Mon Jun 10 00:09:53 2013 +0000 @@ -9,6 +9,7 @@ #include "motor.h" #include "com.h" #include "sensors.h" +#include "PID.h" // Motor constants. const PinName MOTOR1 = PTD4; // Pin used for motor 1. @@ -17,9 +18,12 @@ const PinName MOTOR4 = PTA5; // Pin used for motor 4. // Xbee constants. +// Alternative Pins +// RX = PTA1, TX PTA2 const PinName TXPIN = PTD3; // Pin used for xbee TX. const PinName RXPIN = PTD2; // Pin used for xbee RX. + // Sensor constants. #define MMA8451_I2C_ADDRESS (0x1d<<1) // Address of I2C accelerometer. const PinName ACCSDA = PTE25; // Pin for accelerometer SDA line.