![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
TOF based Presence Detector
Dependencies: BLE_API X_NUCLEO_6180XA1 X_NUCLEO_IDB0XA1 mbed
Fork of BLE_HeartRate_IDB0XA1 by
bricks/target.h@29:eceecbe28088, 2018-08-20 (annotated)
- Committer:
- hux
- Date:
- Mon Aug 20 16:43:10 2018 +0000
- Revision:
- 29:eceecbe28088
- Parent:
- 22:d467526abc4a
made in Shanghai
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
hux | 22:d467526abc4a | 1 | // bricks/target.h - define target specifics |
hux | 22:d467526abc4a | 2 | |
hux | 22:d467526abc4a | 3 | #ifndef _BRICKS_TARGET_H_ |
hux | 22:d467526abc4a | 4 | #define _BRICKS_TARGET_H_ |
hux | 22:d467526abc4a | 5 | |
hux | 22:d467526abc4a | 6 | // platform specific defines - comment out platforms which are not used |
hux | 22:d467526abc4a | 7 | // We work only with two kinds of platform: |
hux | 22:d467526abc4a | 8 | // |
hux | 22:d467526abc4a | 9 | // a) a NUCLEO platform from STMicroelectronics |
hux | 22:d467526abc4a | 10 | // b) a nRF51 platform from Nordic Semiconductor |
hux | 22:d467526abc4a | 11 | // |
hux | 22:d467526abc4a | 12 | // If we have not a nRF51 target then we coclude it is a NUCLEO target. This is |
hux | 22:d467526abc4a | 13 | // not really clean, but under above assumptions it works so far! |
hux | 22:d467526abc4a | 14 | |
hux | 22:d467526abc4a | 15 | #ifdef TARGET_NRF51822 |
hux | 22:d467526abc4a | 16 | # define LED_INVERTED // inverted LED for nRF51 targets |
hux | 22:d467526abc4a | 17 | #endif |
hux | 22:d467526abc4a | 18 | |
hux | 22:d467526abc4a | 19 | #endif // _BRICKS_TARGET_H_ |