AirsoftTimer software based on mbed

Dependencies:   mbed TextLCD keypad

Committer:
sillevl
Date:
Thu Feb 07 20:50:33 2013 +0000
Revision:
0:4a0929f1b4fd
Child:
1:c80248c83025
Hello world LED ! working !

Who changed what in which revision?

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