aaaa

Dependencies:   mbed

Files at this revision

API Documentation at this revision

Comitter:
naruu
Date:
Sat Dec 19 16:34:50 2020 +0000
Parent:
5:d005a1d5feb0
Child:
7:f8fe875627be
Commit message:
ru

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Sat Nov 28 09:24:09 2020 +0000
+++ b/main.cpp	Sat Dec 19 16:34:50 2020 +0000
@@ -1,11 +1,16 @@
 #include "mbed.h"
  
-DigitalOut FET(D9);                //FET
+DigitalOut FET1(D9);
  
 int main() {
-        FET = 1;
+        FET1 = 1;
+        wait(20);
+        FET1 = 0;
+        wait(10);
+        FET1 = 1;
         wait(20);
-        FET=0;
+        FET1 =0;
+        
         
-       
+       return 0;
 }
\ No newline at end of file