Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of elec350 by
led.h
- Committer:
- rmerrisonhort
- Date:
- 2015-11-19
- Revision:
- 16:721e41936a07
- Parent:
- 15:c1362c12a896
File content as of revision 16:721e41936a07:
#ifndef _LED_H_ #define _LED_H_ #include "mbed.h" #include <string> class Led { private: PinName pinName; DigitalOut* pin; bool isOn; public: Led(string name); void On(); void Off(); bool getIsOn(); }; #endif