satbir panesar
/
elec350
my library for elec350
Led.h
- Committer:
- spanesar
- Date:
- 2016-10-19
- Revision:
- 3:d62097c19a4e
- Parent:
- 1:8cd3ad6ab5f3
File content as of revision 3:d62097c19a4e:
#ifndef _LED_H_ #define _LED_H_ #include "mbed.h" class Led { public: Led(PinName pinName); void switchOn(); void switchOff(); void flash(float time); private: DigitalOut pin; }; #endif