current code

Dependencies:   mbed Motor TextLCD Keypad Frdmlz25 DHT11

Dependents:   Frdmlz25

Files at this revision

API Documentation at this revision

Comitter:
alex123456
Date:
Mon Nov 19 16:21:32 2018 +0000
Branch:
All_done_withoutWIFI
Parent:
6:05022e3201ac
Commit message:
gai

Changed in this revision

Frdmlz25.lib Show annotated file Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 05022e3201ac -r da7c96261a91 Frdmlz25.lib
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Frdmlz25.lib	Mon Nov 19 16:21:32 2018 +0000
@@ -0,0 +1,1 @@
+https://os.mbed.com/teams/COEN6711-Project/code/Frdmlz25/#05022e3201ac
diff -r 05022e3201ac -r da7c96261a91 main.cpp
--- a/main.cpp	Mon Nov 12 18:42:13 2018 +0000
+++ b/main.cpp	Mon Nov 19 16:21:32 2018 +0000
@@ -153,8 +153,8 @@
                                     }
                                 else if (val_lig<=p1_lMin){
                                     output1=1; 
-                                    w.speed(0.4);
-                                    m.speed(0);
+                                    w.speed(0.9);
+                                    m.speed(0.7);
                                     output4=0;
                                     }
                                 }
@@ -180,7 +180,7 @@
                             else if (val_hud<=p1_hMin ) {
                                 if (val_lig>=p1_lMin && val_lig<=p1_lMax) {
                                     output1=0;
-                                    w.speed(0);
+                                    w.speed(0.5);
                                     m.speed(1);
                                     output4=1;
                                     }