Code for testing glovebox.

Dependencies:   mbed

Revision:
1:f0943cae3bee
Parent:
0:4c49d95a1f05
Child:
2:73be4f9f04f9
--- a/GloveBoxTester.cpp	Thu Jul 11 23:49:36 2013 +0000
+++ b/GloveBoxTester.cpp	Fri Jul 12 00:02:51 2013 +0000
@@ -18,7 +18,8 @@
 
 int main()
 {
-    pc.printf("Here we go! \n \r");
+
+    pc.printf(" \n \rHere we go! \n \r");
     while(count< cycles) {
 
 
@@ -39,14 +40,14 @@
         pneumatics2 = 0;
 
         //Wait until cylinder has finished travel
-        wait(.3);
+        wait(0.3);
         pneumatics1 = 0;
         pneumatics2 = 1;
 
         //Wait to full retract then repeat
-        wait(0.2);
+        wait(0.3);
         
-        pc.printf("%d \n \r",count);
+        pc.printf("%d\r",count);
         count++;