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.
led.h
- Committer:
- kalyan
- Date:
- 2012-02-02
- Revision:
- 0:4e434d6edc1e
File content as of revision 0:4e434d6edc1e:
#ifndef MBED_LED_H #define MBED_LED_H #include "mbed.h" /** LED class * * Example: * @code * * * @encode */ class LED{ public: /** Create led object * * @param pin LE Pin */ LED(PinName pin); /** LED ON * return void */ void ON(); /** LED OFF **/ void OFF(); /** LED SWAP **/ void SWAP(); private: DigitalOut _pin; }; #endif