3rd Repo, trying to figure this out.

Dependencies:   LPS25H hts221

Fork of SOFT253_Template_Weather_OS_54 by Stage-1 Students SoCEM

Revision:
74:749727490f44
Parent:
72:ef4a4e3089c1
Child:
79:4e6b53eb678b
--- a/CircularArray/CircularArray.cpp	Fri Apr 21 19:55:45 2017 +0000
+++ b/CircularArray/CircularArray.cpp	Mon Apr 24 13:15:51 2017 +0000
@@ -37,7 +37,7 @@
     for(int i = 0; i < x; i++)
     {
         char *ptr = array[currentElement].date.ToString();
-        printf("\n\r%i. %s T: %f | H: %f | P: %f |",i,ptr , array[currentElement].temperature, array[currentElement].humidity, array[currentElement].pressure);
+        printf("\n\r%i. %s T: %f | H: %f | P: %f |",i + 1,ptr , array[currentElement].temperature, array[currentElement].humidity, array[currentElement].pressure);
         currentElement++;
         currentElement = currentElement % maxSize; 
     }