Coordinator v2
Dependencies: NerfUSXbee PinDetect EthernetInterface JSON MFRC522 WebSocketClient mbed-rtos mbed
main.cpp@0:bb9c841415b8, 2017-04-10 (annotated)
- Committer:
- tihbe
- Date:
- Mon Apr 10 18:57:20 2017 +0000
- Revision:
- 0:bb9c841415b8
First Commit
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
tihbe | 0:bb9c841415b8 | 1 | #include "mbed.h" |
tihbe | 0:bb9c841415b8 | 2 | |
tihbe | 0:bb9c841415b8 | 3 | DigitalOut myled(LED1); |
tihbe | 0:bb9c841415b8 | 4 | |
tihbe | 0:bb9c841415b8 | 5 | int main() { |
tihbe | 0:bb9c841415b8 | 6 | while(1) { |
tihbe | 0:bb9c841415b8 | 7 | myled = 1; |
tihbe | 0:bb9c841415b8 | 8 | wait(0.2); |
tihbe | 0:bb9c841415b8 | 9 | myled = 0; |
tihbe | 0:bb9c841415b8 | 10 | wait(0.2); |
tihbe | 0:bb9c841415b8 | 11 | } |
tihbe | 0:bb9c841415b8 | 12 | } |