TOF based Presence Detector

Dependencies:   BLE_API X_NUCLEO_6180XA1 X_NUCLEO_IDB0XA1 mbed

Fork of BLE_HeartRate_IDB0XA1 by ST

Committer:
hux
Date:
Sun Dec 18 05:33:58 2016 +0000
Revision:
22:d467526abc4a
some new stuff added - works now

Who changed what in which revision?

UserRevisionLine numberNew contents of line
hux 22:d467526abc4a 1 // blink.h - blinking sequences for LED1
hux 22:d467526abc4a 2 #ifndef _BLINK_H_
hux 22:d467526abc4a 3 #define _BLINK_H_
hux 22:d467526abc4a 4
hux 22:d467526abc4a 5 #include <mbed.h>
hux 22:d467526abc4a 6
hux 22:d467526abc4a 7 # define IDLE "x " // 'idle' blinking sequence
hux 22:d467526abc4a 8 # define ADVERTISE "x xxx " // 'advertise' blinking sequence
hux 22:d467526abc4a 9 # define CONNECTED " xxx " // 'connected' blinking sequence
hux 22:d467526abc4a 10 # define ACTION "x x x x x " // 'action' blinking sequence
hux 22:d467526abc4a 11 # define FAULT "x x x x xxx " // 'fault' blinking sequence
hux 22:d467526abc4a 12
hux 22:d467526abc4a 13 void morse(const char *pattern, double periode = 0.2);
hux 22:d467526abc4a 14 void blink(const char *pattern, const char* next, double interval = 0.2);
hux 22:d467526abc4a 15 void blink(const char *pattern, double periode = 0.2);
hux 22:d467526abc4a 16
hux 22:d467526abc4a 17 #endif // _BLINK_H_