asdf

Dependencies:   mbed

Fork of XbeeHomeAutomation by Chris Wilson

Committer:
mmujica6
Date:
Tue Nov 26 01:33:04 2013 +0000
Revision:
1:ecbee6eb3020
Parent:
0:c498b8bcfc46
Child:
2:62271bcaa4a7
Added an LED

Who changed what in which revision?

UserRevisionLine numberNew contents of line
chrisisthefish 0:c498b8bcfc46 1 #include "mbed.h"
chrisisthefish 0:c498b8bcfc46 2
chrisisthefish 0:c498b8bcfc46 3 DigitalOut myled(LED1);
mmujica6 1:ecbee6eb3020 4 DigitalOut myled2(LED2);
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 }