Latest

Dependencies:   serial_terminal sample_hardware PLL_Config SDCard BMP280 Networkbits TextLCD SDBlockDevice

Files at this revision

API Documentation at this revision

Comitter:
Swabey89
Date:
Thu Jan 03 10:33:33 2019 +0000
Parent:
31:087e295cc859
Commit message:
Latest

Changed in this revision

PLL_Config.lib Show annotated file Show diff for this revision Revisions of this file
SDCard.lib Show annotated file Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
serial_terminal.lib Show annotated file Show diff for this revision Revisions of this file
--- a/PLL_Config.lib	Wed Jan 02 19:46:04 2019 +0000
+++ b/PLL_Config.lib	Thu Jan 03 10:33:33 2019 +0000
@@ -1,1 +1,1 @@
-PLL_Config#61304557ddd1
+https://os.mbed.com/users/Swabey89/code/PLL_Config/#61304557ddd1
--- a/SDCard.lib	Wed Jan 02 19:46:04 2019 +0000
+++ b/SDCard.lib	Thu Jan 03 10:33:33 2019 +0000
@@ -1,1 +1,1 @@
-https://os.mbed.com/users/Swabey89/code/SDCard/#e1f62dd17e3c
+https://os.mbed.com/users/Swabey89/code/SDCard/#23b3be671415
--- a/main.cpp	Wed Jan 02 19:46:04 2019 +0000
+++ b/main.cpp	Thu Jan 03 10:33:33 2019 +0000
@@ -240,14 +240,14 @@
         producer_tout.attach(producer_toutISR, TOUT_TIME_DEF);
                
         //Update buffer     
-        newestIndex = (newestIndex+1) % BUFFERSIZE;  //CIRCULAR  
-        
-         if (newestIndex == oldestIndex)
+         
+        if ((newestIndex == oldestIndex) && (Nspaces==0))
         {
+            //printQueue.call(printf, "oldest index being increased\n\r");
             oldestIndex = (oldestIndex+1) % BUFFERSIZE;     
         }
             
-         
+        newestIndex = (newestIndex+1) % BUFFERSIZE;  //CIRCULAR 
         /*     
         buffer[newestIndex].updatetemp(sensor.getTemperature());
         buffer[newestIndex].updatepress(sensor.getPressure());
--- a/serial_terminal.lib	Wed Jan 02 19:46:04 2019 +0000
+++ b/serial_terminal.lib	Thu Jan 03 10:33:33 2019 +0000
@@ -1,1 +1,1 @@
-https://os.mbed.com/users/Swabey89/code/serial_terminal/#f665c1bc9dbb
+https://os.mbed.com/users/Swabey89/code/serial_terminal/#2673cf270bf0