Seatbelt cycler

Dependencies:   mbed

Files at this revision

API Documentation at this revision

Comitter:
mondoman
Date:
Mon Jun 23 18:26:19 2014 +0000
Parent:
1:88397297a9e9
Commit message:
Updated for material abrasion test

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 88397297a9e9 -r f565b245fca9 main.cpp
--- a/main.cpp	Thu Jun 27 17:02:19 2013 +0000
+++ b/main.cpp	Mon Jun 23 18:26:19 2014 +0000
@@ -27,11 +27,11 @@
     lcd.printf("Seatbelt Test");
     int state = 1;
     int count = 0;
-    int maxCount = 1300;
-    float wait1 = 0.2;
-    float wait2 = 0.2;
-    float cylDown = 1.6;
-    float cylUp = 1.9;
+    int maxCount = 1000;
+    float wait1 = 5.0;
+    float wait2 = 5.0  ;
+    float cylDown = 2.0;
+    float cylUp = 2.0;
     while(1) {
     while((onSwitch==1)&&(count<=maxCount)) {
         move_cursor(1,0);