My Template app for TinyBLE.
Dependencies: mbed BLE_API nRF51822 eMPL_MPU6050
tiny_ble.h@2:45d3ae0a3b3c, 2020-08-22 (annotated)
- Committer:
- arils
- Date:
- Sat Aug 22 02:20:03 2020 +0000
- Revision:
- 2:45d3ae0a3b3c
- Parent:
- 1:cea2f48b1aff
Template Version;
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
arils | 1:cea2f48b1aff | 1 | |
arils | 1:cea2f48b1aff | 2 | #ifndef __TINY_BLE_H__ |
arils | 1:cea2f48b1aff | 3 | #define __TINY_BLE_H__ |
arils | 1:cea2f48b1aff | 4 | |
arils | 1:cea2f48b1aff | 5 | #define LED_GREEN p21 |
arils | 1:cea2f48b1aff | 6 | #define LED_RED p22 |
arils | 1:cea2f48b1aff | 7 | #define LED_BLUE p23 |
arils | 1:cea2f48b1aff | 8 | #define BUTTON_PIN p17 |
arils | 1:cea2f48b1aff | 9 | #define BATTERY_PIN p1 |
arils | 1:cea2f48b1aff | 10 | |
arils | 1:cea2f48b1aff | 11 | #define MPU6050_SDA p12 |
arils | 1:cea2f48b1aff | 12 | #define MPU6050_SCL p13 |
arils | 1:cea2f48b1aff | 13 | |
arils | 1:cea2f48b1aff | 14 | #define UART_TX p9 |
arils | 1:cea2f48b1aff | 15 | #define UART_RX p11 |
arils | 1:cea2f48b1aff | 16 | #define UART_CTS p8 |
arils | 1:cea2f48b1aff | 17 | #define UART_RTS p10 |
arils | 1:cea2f48b1aff | 18 | |
arils | 1:cea2f48b1aff | 19 | #endif // __TINY_BLE_H__ |