TOF based Presence Detector

Dependencies:   BLE_API X_NUCLEO_6180XA1 X_NUCLEO_IDB0XA1 mbed

Fork of BLE_HeartRate_IDB0XA1 by ST

bricks/blink.h

Committer:
hux
Date:
2016-12-18
Revision:
22:d467526abc4a

File content as of revision 22:d467526abc4a:

// blink.h - blinking sequences for LED1
#ifndef _BLINK_H_
#define _BLINK_H_

#include <mbed.h>

#  define IDLE      "x       "           // 'idle' blinking sequence
#  define ADVERTISE "x xxx       "       // 'advertise' blinking sequence
#  define CONNECTED "  xxx       "       // 'connected' blinking sequence
#  define ACTION    "x x x x x       "   // 'action' blinking sequence
#  define FAULT     "x x x x xxx "       // 'fault' blinking sequence

   void morse(const char *pattern, double periode = 0.2);
   void blink(const char *pattern, const char* next, double interval = 0.2);
   void blink(const char *pattern, double periode = 0.2);

#endif // _BLINK_H_