![](/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/stop.h
- Committer:
- hux
- Date:
- 2018-08-20
- Revision:
- 29:eceecbe28088
- Parent:
- 28:a23b16555909
File content as of revision 29:eceecbe28088:
// stop.h - stop button functionality #ifndef _STOP_H_ #define _STOP_H_ #include <mbed.h> class StopButton : private InterruptIn { public: void set(); // set stop request void clear(); // clear stop request bool request(); // stop requested? public: // construction StopButton(PinName pin = USER_BUTTON); }; #endif // _STOP_H_