Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: BLE_API mbed nRF51822
Fork of BLE_HeartRate_IDB0XA1 by
Diff: bricks/blink.h
- Revision:
- 23:2e73c391bb12
- Parent:
- 22:d467526abc4a
- Child:
- 24:359e85e758c3
--- a/bricks/blink.h Sun Dec 18 05:33:58 2016 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,17 +0,0 @@ -// 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_ \ No newline at end of file
