Function on LEDs

Committer:
PA
Date:
Sat May 26 11:12:04 2012 +0000
Revision:
0:3d463f0d51d9

        

Who changed what in which revision?

UserRevisionLine numberNew contents of line
PA 0:3d463f0d51d9 1 #ifndef MBED_FONCTIONLED_H
PA 0:3d463f0d51d9 2 #define MBED_FONCTIONLED_H
PA 0:3d463f0d51d9 3
PA 0:3d463f0d51d9 4 #include "mbed.h"
PA 0:3d463f0d51d9 5
PA 0:3d463f0d51d9 6 class FonctionLED{
PA 0:3d463f0d51d9 7
PA 0:3d463f0d51d9 8 public:
PA 0:3d463f0d51d9 9 FonctionLED (PinName pin);
PA 0:3d463f0d51d9 10 void OnOff ();
PA 0:3d463f0d51d9 11 void Brightness (int n);
PA 0:3d463f0d51d9 12
PA 0:3d463f0d51d9 13 private:
PA 0:3d463f0d51d9 14 DigitalOut _pin;
PA 0:3d463f0d51d9 15 };
PA 0:3d463f0d51d9 16
PA 0:3d463f0d51d9 17 #endif