Simple example of Writing a Library https://developer.mbed.org/cookbook/Writing-a-Library
Flasher.h
- Committer:
- axa986
- Date:
- 2016-01-07
- Revision:
- 0:a9e677a711b0
File content as of revision 0:a9e677a711b0:
#ifndef MBED_FLASHER_H #define MBED_FLASHER_H #include "mbed.h" class Flasher { public: Flasher(PinName pin); void flash(int n); private: DigitalOut _pin; }; #endif