Seatbelt cycler

Dependencies:   mbed

Committer:
mondoman
Date:
Mon Jun 24 18:39:10 2013 +0000
Revision:
0:c91b6d9f73a2
Child:
1:88397297a9e9
first

Who changed what in which revision?

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