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.
Diff: main.cpp
- Revision:
- 5:a28271106113
- Parent:
- 4:5656d9c63801
- Child:
- 6:84b3ef333908
diff -r 5656d9c63801 -r a28271106113 main.cpp
--- a/main.cpp Sat Nov 07 13:13:47 2020 +0000
+++ b/main.cpp Tue Feb 16 06:43:26 2021 +0000
@@ -14,7 +14,7 @@
int main() {
while(1) {
- pc.printf("%2.2f degC, %04.2f hPa, %2.2f %%\n", sensor.getTemperature(), sensor.getPressure(), sensor.getHumidity());
- wait(1);
+ pc.printf("%2.1f degC %04.1f hPa %2.1f%%\r\n", sensor.getTemperature(), sensor.getPressure(), sensor.getHumidity());
+ wait(3);
}
}