program to blink two leds along with value of N
Fork of blink_LED by
main.cpp@1:7a062c1b79dd, 2016-11-11 (annotated)
- 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?
User | Revision | Line number | New contents of line |
---|---|---|---|
2bv14ei014 | 0:d1d2410ad028 | 1 | #include "mbed.h" |
2bv14ei014 | 0:d1d2410ad028 | 2 | #include "Blinker.h" |
2bv14ei014 | 0:d1d2410ad028 | 3 | |
2bv14ei014 | 0:d1d2410ad028 | 4 | Blinker led1(LED1); |
2bv14ei014 | 0:d1d2410ad028 | 5 | Blinker led2(LED2); |
2bv14ei014 | 0:d1d2410ad028 | 6 | |
2bv14ei014 | 0:d1d2410ad028 | 7 | int main() { |
2bv14ei014 | 0:d1d2410ad028 | 8 | led1.Blink(5); |
2bv14ei014 | 1:7a062c1b79dd | 9 | led2.Blink(2); |
2bv14ei014 | 0:d1d2410ad028 | 10 | } |