teste1

Dependencies:   mbed

Committer:
lazarocamargo
Date:
Sun Feb 18 00:11:20 2018 +0000
Revision:
0:b75bdc7b3080
teste1

Who changed what in which revision?

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