Bluetooth Connected TOF Sensor

Dependencies:   BLE_API X_NUCLEO_6180XA1 X_NUCLEO_IDB0XA1 mbed

Fork of BLE_HeartRate_IDB0XA1 by ST

Committer:
hux
Date:
Wed Feb 01 22:08:56 2017 +0000
Revision:
28:def5e0f0fb06
First S16_Blue_ToF application which runs nicely!; Digital display can be switched on/off with red slider

Who changed what in which revision?

UserRevisionLine numberNew contents of line
hux 28:def5e0f0fb06 1 // bricks/target.h - define target specifics
hux 28:def5e0f0fb06 2
hux 28:def5e0f0fb06 3 #ifndef _BRICKS_TARGET_H_
hux 28:def5e0f0fb06 4 #define _BRICKS_TARGET_H_
hux 28:def5e0f0fb06 5
hux 28:def5e0f0fb06 6 //#define MTCONNECT04 // MtM nRF51822 module MtConnect04
hux 28:def5e0f0fb06 7
hux 28:def5e0f0fb06 8 // platform specific defines - comment out platforms which are not used
hux 28:def5e0f0fb06 9 // We work only with two kinds of platform:
hux 28:def5e0f0fb06 10 //
hux 28:def5e0f0fb06 11 // a) a NUCLEO platform from STMicroelectronics
hux 28:def5e0f0fb06 12 // b) a nRF51 platform from Nordic Semiconductor
hux 28:def5e0f0fb06 13 //
hux 28:def5e0f0fb06 14 // If we have not a nRF51 target then we coclude it is a NUCLEO target. This is
hux 28:def5e0f0fb06 15 // not really clean, but under above assumptions it works so far!
hux 28:def5e0f0fb06 16
hux 28:def5e0f0fb06 17 #ifdef TARGET_NRF51822
hux 28:def5e0f0fb06 18 # define LED_INVERTED // inverted LED for nRF51 targets
hux 28:def5e0f0fb06 19 #endif
hux 28:def5e0f0fb06 20
hux 28:def5e0f0fb06 21 #ifdef MTCONNECT04
hux 28:def5e0f0fb06 22 # define BLINK_LED p16
hux 28:def5e0f0fb06 23 #endif
hux 28:def5e0f0fb06 24
hux 28:def5e0f0fb06 25 #endif // _BRICKS_TARGET_H_