Rob's Team / Mbed 2 deprecated mbed_blinkyf

Dependencies:   mbed

Committer:
thegecko
Date:
Thu Jan 31 18:51:16 2019 +0000
Revision:
0:62a2e657a8b2
test

Who changed what in which revision?

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