trial

Dependencies:   mbed

Committer:
Rajkumar_RK
Date:
Mon Sep 24 05:15:11 2018 +0000
Revision:
0:a9431479515a
new;

Who changed what in which revision?

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