idk

Dependencies:   mbed Blinker

Committer:
aj0ikari
Date:
Wed Sep 15 19:04:25 2021 +0000
Revision:
0:448f24a7fdc4
idk

Who changed what in which revision?

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