a

Files at this revision

API Documentation at this revision

Comitter:
momidi
Date:
Fri May 13 08:18:09 2022 +0000
Parent:
0:b124081ccd07
Commit message:
a

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Fri May 13 08:17:17 2022 +0000
+++ b/main.cpp	Fri May 13 08:18:09 2022 +0000
@@ -1,13 +1,13 @@
 #include "mbed.h"
 
-DigitalOut led(D13);
+DigitalOut motor(D13);
 
 int main()
 {
     while(1) {
-        led = 1;
+        motor = 1;
         wait(3.0);
-        led = 0;
+        motor = 0;
         wait(1.0);
     }
 }
\ No newline at end of file