CUED IIA Project
Dependencies: BLE_API mbed nRF51822
Fork of BLE_GATT_Example by
sensors.cpp@23:708cc5ef2604, 2017-05-31 (annotated)
- Committer:
- AidasL
- Date:
- Wed May 31 22:13:36 2017 +0000
- Revision:
- 23:708cc5ef2604
- Child:
- 24:baa43caa2f3d
Initial commit;
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
AidasL | 23:708cc5ef2604 | 1 | #include "sensors.h" |
AidasL | 23:708cc5ef2604 | 2 | #include "mbed.h" |
AidasL | 23:708cc5ef2604 | 3 | #include "wire.h" |
AidasL | 23:708cc5ef2604 | 4 | |
AidasL | 23:708cc5ef2604 | 5 | #define BLE_Nano |
AidasL | 23:708cc5ef2604 | 6 | |
AidasL | 23:708cc5ef2604 | 7 | #ifdef BLE_Nano |
AidasL | 23:708cc5ef2604 | 8 | #define SCL 7 |
AidasL | 23:708cc5ef2604 | 9 | #define SDA 6 |
AidasL | 23:708cc5ef2604 | 10 | #endif |
AidasL | 23:708cc5ef2604 | 11 | |
AidasL | 23:708cc5ef2604 | 12 | #define DEV_ADDR 0xA0 |