fix nrf51822 i2c & spi conflict
Dependencies: BLE_API eMPL_MPU6050 nRF51822
Fork of Seeed_Tiny_BLE_Flash by
tiny_ble.h@5:b8c02645e6af, 2015-11-17 (annotated)
- Committer:
- yihui
- Date:
- Tue Nov 17 07:48:56 2015 +0000
- Revision:
- 5:b8c02645e6af
- Parent:
- 0:26da608265f8
fix i2c & spi conflict
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__ |