my code update

Dependencies:   mbed

Fork of Cui_mia_team by Pham The Toan

Committer:
toanpt3
Date:
Wed Aug 31 12:42:33 2016 +0000
Revision:
0:3cafa5eeee75
Hello

Who changed what in which revision?

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