program to blink two leds along with value of N

Fork of blink_LED by Anjali jangalagi

Committer:
2bv14ei014
Date:
Fri Nov 11 06:41:04 2016 +0000
Revision:
1:7a062c1b79dd
Parent:
0:d1d2410ad028
BLINK LEDS

Who changed what in which revision?

UserRevisionLine numberNew contents of line
2bv14ei014 0:d1d2410ad028 1 #ifndef MBED_BLINKER_H
2bv14ei014 0:d1d2410ad028 2 #define MBED_BLINKER_H
2bv14ei014 0:d1d2410ad028 3
2bv14ei014 0:d1d2410ad028 4 #include "mbed.h"
2bv14ei014 0:d1d2410ad028 5
2bv14ei014 0:d1d2410ad028 6 class Blinker {
2bv14ei014 0:d1d2410ad028 7 public:
2bv14ei014 0:d1d2410ad028 8 Blinker (PinName pin);
2bv14ei014 0:d1d2410ad028 9 void Blink(int n);
2bv14ei014 0:d1d2410ad028 10
2bv14ei014 0:d1d2410ad028 11 private:
2bv14ei014 0:d1d2410ad028 12 DigitalOut LED1,LED2;
2bv14ei014 0:d1d2410ad028 13 };
2bv14ei014 0:d1d2410ad028 14
2bv14ei014 0:d1d2410ad028 15 #endif