![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
chad
Dependencies: MCP23017 WattBob_TextLCD mbed-rtos mbed
main.cpp@0:10e3e2697134, 2017-03-07 (annotated)
- Committer:
- f_legge
- Date:
- Tue Mar 07 12:46:44 2017 +0000
- Revision:
- 0:10e3e2697134
- Child:
- 4:70553c83c65a
Written Frequency measure void
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
f_legge | 0:10e3e2697134 | 1 | #include "mbed.h" |
f_legge | 0:10e3e2697134 | 2 | |
f_legge | 0:10e3e2697134 | 3 | DigitalOut myled(LED1); |
f_legge | 0:10e3e2697134 | 4 | |
f_legge | 0:10e3e2697134 | 5 | int main() { |
f_legge | 0:10e3e2697134 | 6 | while(1) { |
f_legge | 0:10e3e2697134 | 7 | myled = 1; |
f_legge | 0:10e3e2697134 | 8 | wait(0.2); |
f_legge | 0:10e3e2697134 | 9 | myled = 0; |
f_legge | 0:10e3e2697134 | 10 | wait(0.2); |
f_legge | 0:10e3e2697134 | 11 | } |
f_legge | 0:10e3e2697134 | 12 | } |