flasher

Committer:
azab
Date:
Sun Nov 18 13:26:04 2012 +0000
Revision:
0:15c4766e3e16
flashe

Who changed what in which revision?

UserRevisionLine numberNew contents of line
azab 0:15c4766e3e16 1 #ifndef MBED_FLASHER_H
azab 0:15c4766e3e16 2 #define MBED_FLASHER_H
azab 0:15c4766e3e16 3
azab 0:15c4766e3e16 4 #include "mbed.h"
azab 0:15c4766e3e16 5
azab 0:15c4766e3e16 6 class Flasher {
azab 0:15c4766e3e16 7 public:
azab 0:15c4766e3e16 8 Flasher(PinName pin);
azab 0:15c4766e3e16 9 void flash(int n);
azab 0:15c4766e3e16 10
azab 0:15c4766e3e16 11 private:
azab 0:15c4766e3e16 12 DigitalOut _pin;
azab 0:15c4766e3e16 13 };
azab 0:15c4766e3e16 14
azab 0:15c4766e3e16 15 #endif