IISEC
/
BME280
Hello program for BME280 library
Revision 5:a28271106113, committed 2021-02-16
- Comitter:
- titanium
- Date:
- Tue Feb 16 06:43:26 2021 +0000
- Parent:
- 4:5656d9c63801
- Commit message:
- imported from BME280-Hello
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
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); } }