Seatbelt cycler

Dependencies:   mbed

Revision:
2:f565b245fca9
Parent:
1:88397297a9e9
--- 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);