02/07/15

Dependencies:   mbed

Dependents:   TabbedGUIMbed

Revision:
55:58e9836f5ad1
Parent:
54:9322b1b76e13
Child:
56:bf08d9e50ccc
diff -r 9322b1b76e13 -r 58e9836f5ad1 main.cpp
--- a/main.cpp	Thu Jul 16 14:22:47 2015 +0000
+++ b/main.cpp	Thu Jul 16 14:42:29 2015 +0000
@@ -9,10 +9,10 @@
 
 int main(void)
 {
-   initialise(); //used to create the Datalog file
+   initialise(3);                                 //used to create the Datalog file should happen once for every bend test
  //  calculate(5,3);    //testing
  
-    int pins =  inputNoOfPins();
-    double distance = inputDistance();
-    calculate(distance,pins);
+    int pins =  inputNoOfPins();                //gets number of pins
+    double distance = inputDistance();         //gets the distance between the pins
+    calculate(distance,pins);                  
 }
\ No newline at end of file