ok blink
blink.h
- Committer:
- nielsen8
- Date:
- 2010-11-02
- Revision:
- 0:994d48d4baab
- Child:
- 1:f91a78f50aa5
File content as of revision 0:994d48d4baab:
#ifndef MBED_BLINK_H #define MBED_BLINK_H #include "mbed.h" /** blink class not really doing anything here. */ class BLINK { public: /** constuctor blink \param pin the bin we wish to blink */ BLINK(PinName pin); /** our flasher code \param n the number of time to flash */ void flash(int n); private: DigitalOut _pin; }; #endif