4180 Project

Dependencies:   mbed

Committer:
rdobbs6
Date:
Thu Apr 09 21:59:14 2020 +0000
Revision:
0:6df8a179a330
Test

Who changed what in which revision?

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