Practice 1

Dependencies:   mbed

Committer:
selvakumararm
Date:
Mon May 31 07:52:39 2021 +0000
Revision:
1:04560438fe1c
Parent:
0:07deac855ed7
It is for your practise

Who changed what in which revision?

UserRevisionLine numberNew contents of line
selvakumararm 0:07deac855ed7 1 #include "mbed.h"
selvakumararm 0:07deac855ed7 2 DigitalOut myled(LED1);
selvakumararm 0:07deac855ed7 3 int main(){
selvakumararm 0:07deac855ed7 4 while(1){
selvakumararm 0:07deac855ed7 5 myled = 1;
selvakumararm 1:04560438fe1c 6 wait(1);
selvakumararm 0:07deac855ed7 7 myled = 0;
selvakumararm 1:04560438fe1c 8 wait(1);
selvakumararm 0:07deac855ed7 9 }
selvakumararm 0:07deac855ed7 10 }