Chetan patil
/
flasher
LED blink
main.cpp@0:02489f35e512, 2015-11-24 (annotated)
- Committer:
- chetanpatil
- Date:
- Tue Nov 24 05:19:22 2015 +0000
- Revision:
- 0:02489f35e512
LED blink;
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
chetanpatil | 0:02489f35e512 | 1 | #include "mbed.h" |
chetanpatil | 0:02489f35e512 | 2 | #include "Flasher.h" |
chetanpatil | 0:02489f35e512 | 3 | |
chetanpatil | 0:02489f35e512 | 4 | Flasher led(LED2); |
chetanpatil | 0:02489f35e512 | 5 | |
chetanpatil | 0:02489f35e512 | 6 | int main() { |
chetanpatil | 0:02489f35e512 | 7 | led.flash(5); |
chetanpatil | 0:02489f35e512 | 8 | led.flash(2); |
chetanpatil | 0:02489f35e512 | 9 | } |