02/07/15
Dependencies: mbed
Diff: main.cpp
- Revision:
- 71:60f06e7e50a3
- Parent:
- 70:168d67695a65
diff -r 168d67695a65 -r 60f06e7e50a3 main.cpp --- a/main.cpp Thu Sep 03 15:10:51 2015 +0000 +++ b/main.cpp Thu Sep 03 15:32:01 2015 +0000 @@ -41,5 +41,6 @@ { int pins = inputNoOfPins(); //gets number of pins double distance = inputDistance(); //gets the distance between the pins - calculate(distance,pins); //runs calculate method. + string date = inputDate(); + calculate(distance,pins,date); //runs calculate method. } \ No newline at end of file