Home automation using Xbee radios
Dependencies: EthernetNetIf HTTPServer RPCInterface mbed C12832_lcd
main.cpp@0:c498b8bcfc46, 2013-11-26 (annotated)
- Committer:
- chrisisthefish
- Date:
- Tue Nov 26 01:30:18 2013 +0000
- Revision:
- 0:c498b8bcfc46
- Child:
- 1:230c1ec1c9bb
- Child:
- 6:438291b14122
Initial Commit
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
chrisisthefish | 0:c498b8bcfc46 | 1 | #include "mbed.h" |
chrisisthefish | 0:c498b8bcfc46 | 2 | |
chrisisthefish | 0:c498b8bcfc46 | 3 | DigitalOut myled(LED1); |
chrisisthefish | 0:c498b8bcfc46 | 4 | |
chrisisthefish | 0:c498b8bcfc46 | 5 | int main() { |
chrisisthefish | 0:c498b8bcfc46 | 6 | while(1) { |
chrisisthefish | 0:c498b8bcfc46 | 7 | myled = 1; |
chrisisthefish | 0:c498b8bcfc46 | 8 | wait(0.2); |
chrisisthefish | 0:c498b8bcfc46 | 9 | myled = 0; |
chrisisthefish | 0:c498b8bcfc46 | 10 | wait(0.2); |
chrisisthefish | 0:c498b8bcfc46 | 11 | } |
chrisisthefish | 0:c498b8bcfc46 | 12 | } |