Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: MAX31855 SDFileSystem mbed
Diff: main.cpp
- Revision:
- 8:882ccc7bbc8a
- Parent:
- 7:9032b52be810
- Child:
- 9:c97cd10b11ac
diff -r 9032b52be810 -r 882ccc7bbc8a main.cpp
--- a/main.cpp Thu Mar 31 17:30:45 2016 +0000
+++ b/main.cpp Wed Apr 06 05:58:36 2016 +0000
@@ -32,9 +32,9 @@
temp1 = thermometer1.read();
temp2 = thermometer2.read();
voltage = solarPanel.read(); // I will need to put the voltage reading in here.
- pc.printf("Voltage %f\t Temp %f\t Time %f\r\n", voltage, temp1, time);
+ pc.printf("Voltage %f\t Temp1 %f\t Temp2 %f\t Time %f\r\n", voltage, temp1, temp2, lastTime);
- writeData(lastTime, temp1, voltage);
+ writeData(lastTime, temp1, temp2, voltage);
if (t.read()>=30*60){
halfHour++;
t.reset();
