A quad-copter controlled by MBED

Dependencies:   mbed

Committer:
ryought
Date:
Tue Dec 18 06:31:59 2012 +0000
Revision:
0:3e9fc8375e2c
first (test)

Who changed what in which revision?

UserRevisionLine numberNew contents of line
ryought 0:3e9fc8375e2c 1 #include "mbed.h"
ryought 0:3e9fc8375e2c 2
ryought 0:3e9fc8375e2c 3 DigitalOut myled(LED1);
ryought 0:3e9fc8375e2c 4
ryought 0:3e9fc8375e2c 5 int main() {
ryought 0:3e9fc8375e2c 6 while(1) {
ryought 0:3e9fc8375e2c 7 myled = 1;
ryought 0:3e9fc8375e2c 8 wait(0.2);
ryought 0:3e9fc8375e2c 9 myled = 0;
ryought 0:3e9fc8375e2c 10 wait(0.2);
ryought 0:3e9fc8375e2c 11 }
ryought 0:3e9fc8375e2c 12 }