basic test to get quaternion over ble and use it to improve balance board skills
Dependencies: BLE_API eMPL_MPU6050 mbed nRF51822
Fork of Seeed_Tiny_BLE_Get_Started by
tiny_ble.h@0:26da608265f8, 2015-02-07 (annotated)
- Committer:
- yihui
- Date:
- Sat Feb 07 08:13:51 2015 +0000
- Revision:
- 0:26da608265f8
initial
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
yihui | 0:26da608265f8 | 1 | |
yihui | 0:26da608265f8 | 2 | #ifndef __TINY_BLE_H__ |
yihui | 0:26da608265f8 | 3 | #define __TINY_BLE_H__ |
yihui | 0:26da608265f8 | 4 | |
yihui | 0:26da608265f8 | 5 | #define LED_GREEN p21 |
yihui | 0:26da608265f8 | 6 | #define LED_RED p22 |
yihui | 0:26da608265f8 | 7 | #define LED_BLUE p23 |
yihui | 0:26da608265f8 | 8 | #define BUTTON_PIN p17 |
yihui | 0:26da608265f8 | 9 | #define BATTERY_PIN p1 |
yihui | 0:26da608265f8 | 10 | |
yihui | 0:26da608265f8 | 11 | #define MPU6050_SDA p12 |
yihui | 0:26da608265f8 | 12 | #define MPU6050_SCL p13 |
yihui | 0:26da608265f8 | 13 | |
yihui | 0:26da608265f8 | 14 | #define UART_TX p9 |
yihui | 0:26da608265f8 | 15 | #define UART_RX p11 |
yihui | 0:26da608265f8 | 16 | #define UART_CTS p8 |
yihui | 0:26da608265f8 | 17 | #define UART_RTS p10 |
yihui | 0:26da608265f8 | 18 | |
yihui | 0:26da608265f8 | 19 | #endif // __TINY_BLE_H__ |