Lizzy project
Dependencies: aconno_I2C Lis2dh12 adc52832_common aconno_SEGGER_RTT
bsp/bsp.h@22:7dae8496b97c, 2018-09-13 (annotated)
- Committer:
- jurica238814
- Date:
- Thu Sep 13 15:14:14 2018 +0200
- Branch:
- SimpleGATTExample
- Revision:
- 22:7dae8496b97c
- Parent:
- 19:2681edc2f2b9
LAUT example program
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
jurica238814 | 22:7dae8496b97c | 1 | /** |
jurica238814 | 22:7dae8496b97c | 2 | * Aconno.de |
jurica238814 | 22:7dae8496b97c | 3 | */ |
jurica238814 | 22:7dae8496b97c | 4 | |
dbartolovic | 8:7ba4f82de9b6 | 5 | #ifndef __BSP_H__ |
dbartolovic | 8:7ba4f82de9b6 | 6 | #define __BSP_H__ |
dbartolovic | 8:7ba4f82de9b6 | 7 | |
jurica238814 | 19:2681edc2f2b9 | 8 | #include "aconnoConfig.h" |
jurica238814 | 19:2681edc2f2b9 | 9 | #include "mbed.h" |
jurica238814 | 19:2681edc2f2b9 | 10 | |
jurica238814 | 22:7dae8496b97c | 11 | #define RED_LED_PIN (p15) |
jurica238814 | 22:7dae8496b97c | 12 | #define GREEN_LED_PIN (p16) |
dbartolovic | 8:7ba4f82de9b6 | 13 | |
jurica238814 | 22:7dae8496b97c | 14 | #define LED_OFF (0) // INVERTED FOR DIGITAL PINS |
jurica238814 | 22:7dae8496b97c | 15 | #define LED_ON (1) |
dbartolovic | 8:7ba4f82de9b6 | 16 | |
jurica238814 | 22:7dae8496b97c | 17 | extern DigitalOut redLed; |
jurica238814 | 22:7dae8496b97c | 18 | extern DigitalOut greenLed; |
jurica238814 | 19:2681edc2f2b9 | 19 | |
jurica238814 | 22:7dae8496b97c | 20 | void bspInit(); |
jurica238814 | 19:2681edc2f2b9 | 21 | |
jurica238814 | 19:2681edc2f2b9 | 22 | #endif //__BSP_H__ |