Function on LEDs

FonctionLED.h

Committer:
PA
Date:
2012-05-28
Revision:
1:e8cbefd668a4
Parent:
0:3d463f0d51d9

File content as of revision 1:e8cbefd668a4:

#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