Raphaël Drouin
/
uart_comm
uart_comm
main.cpp@0:062e5eeb6e67, 2017-01-11 (annotated)
- Committer:
- ShaolinPoutine
- Date:
- Wed Jan 11 22:56:23 2017 +0000
- Revision:
- 0:062e5eeb6e67
asdf
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
ShaolinPoutine | 0:062e5eeb6e67 | 1 | #include "mbed.h" |
ShaolinPoutine | 0:062e5eeb6e67 | 2 | |
ShaolinPoutine | 0:062e5eeb6e67 | 3 | DigitalOut myled(LED1); |
ShaolinPoutine | 0:062e5eeb6e67 | 4 | |
ShaolinPoutine | 0:062e5eeb6e67 | 5 | int main() { |
ShaolinPoutine | 0:062e5eeb6e67 | 6 | while(1) { |
ShaolinPoutine | 0:062e5eeb6e67 | 7 | myled = 1; |
ShaolinPoutine | 0:062e5eeb6e67 | 8 | wait(0.2); |
ShaolinPoutine | 0:062e5eeb6e67 | 9 | myled = 0; |
ShaolinPoutine | 0:062e5eeb6e67 | 10 | wait(0.2); |
ShaolinPoutine | 0:062e5eeb6e67 | 11 | } |
ShaolinPoutine | 0:062e5eeb6e67 | 12 | } |