Max Mujica
/
XbeeHomeAutomationFork
asdf
Fork of XbeeHomeAutomation by
main.cpp@0:c498b8bcfc46, 2013-11-26 (annotated)
- Committer:
- chrisisthefish
- Date:
- Tue Nov 26 01:30:18 2013 +0000
- Revision:
- 0:c498b8bcfc46
- Child:
- 1:ecbee6eb3020
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 | } |