21fev2018

Dependencies:   mbed

Committer:
fabioferrazjr
Date:
Wed Feb 21 11:17:20 2018 +0000
Revision:
0:820ae34e4e46
21fev2018

Who changed what in which revision?

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