![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
create and send the file to pc
Dependencies: MCP23017 WattBob_TextLCD mbed
Fork of HelloWorld by
main.cpp@0:fb6bbc10ffa0, 2011-01-16 (annotated)
- Committer:
- simon
- Date:
- Sun Jan 16 16:44:31 2011 +0000
- Revision:
- 0:fb6bbc10ffa0
- Child:
- 2:47c808c02920
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
simon | 0:fb6bbc10ffa0 | 1 | #include "mbed.h" |
simon | 0:fb6bbc10ffa0 | 2 | |
simon | 0:fb6bbc10ffa0 | 3 | DigitalOut myled(LED1); |
simon | 0:fb6bbc10ffa0 | 4 | |
simon | 0:fb6bbc10ffa0 | 5 | int main() { |
simon | 0:fb6bbc10ffa0 | 6 | while(1) { |
simon | 0:fb6bbc10ffa0 | 7 | myled = 1; |
simon | 0:fb6bbc10ffa0 | 8 | wait(0.2); |
simon | 0:fb6bbc10ffa0 | 9 | myled = 0; |
simon | 0:fb6bbc10ffa0 | 10 | wait(0.2); |
simon | 0:fb6bbc10ffa0 | 11 | } |
simon | 0:fb6bbc10ffa0 | 12 | } |