rishi vishwanath / Mbed 2 deprecated mbed_blinky

Dependencies:   mbed

Committer:
rishivishwanath
Date:
Mon May 11 05:59:29 2020 +0000
Revision:
1:58c3aa3b6e50
Parent:
0:63bb07316e5c
hi

Who changed what in which revision?

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