Flasher class is useful to flash a pin for a given #n of times
Flasher.h
- Committer:
- biank88
- Date:
- 2013-12-07
- Revision:
- 0:8eb512b1d1ed
- Child:
- 1:777003f7824d
File content as of revision 0:8eb512b1d1ed:
#ifndef FLASHER_H #define FLASHER_H #include "mbed.h" class Flasher { public: Flasher(PinName pin); void flash(int n); private: DigitalOut _pin; }; #endif