Flasher program
main.cpp@0:12b1e28e7e15, 2018-10-26 (annotated)
- Committer:
- aovas
- Date:
- Fri Oct 26 16:03:59 2018 +0000
- Revision:
- 0:12b1e28e7e15
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
aovas | 0:12b1e28e7e15 | 1 | #include "mbed.h" |
aovas | 0:12b1e28e7e15 | 2 | #include "Flasher.h" |
aovas | 0:12b1e28e7e15 | 3 | Flasher led(LED2); |
aovas | 0:12b1e28e7e15 | 4 | int main() { |
aovas | 0:12b1e28e7e15 | 5 | led.flash(5); |
aovas | 0:12b1e28e7e15 | 6 | led.flash(2); |
aovas | 0:12b1e28e7e15 | 7 | } |