Seatbelt cycler

Dependencies:   mbed

main.cpp

Committer:
mondoman
Date:
2013-06-24
Revision:
0:c91b6d9f73a2
Child:
1:88397297a9e9

File content as of revision 0:c91b6d9f73a2:

#include "mbed.h"

DigitalOut myled(LED1);
DigitalOut armDown(PIN21)


int main() {
    while(1) {
        myled = 1;
        armDown = 1;
        wait(0.2);
        myled = 0;
        wait(0.2);
    }
}