Function on LEDs
FonctionLED.h
- Committer:
- PA
- Date:
- 2012-05-26
- Revision:
- 0:3d463f0d51d9
File content as of revision 0:3d463f0d51d9:
#ifndef MBED_FONCTIONLED_H #define MBED_FONCTIONLED_H #include "mbed.h" class FonctionLED{ public: FonctionLED (PinName pin); void OnOff (); void Brightness (int n); private: DigitalOut _pin; }; #endif