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:
- 4:cdf9641ba817
- Parent:
- 3:aa6c88a89226
- Child:
- 6:898a83da0661
--- a/main.cpp Tue Jun 25 13:41:05 2019 +0000 +++ b/main.cpp Tue Jun 25 14:04:01 2019 +0000 @@ -10,8 +10,8 @@ serial.baud(115200); barometer.reset(); while(1) { - altitude = barometer.measureAndreadAltitude(); + altitude = barometer(); serial.printf("altitude %f\r\n", altitude); - wait_ms(10); // don't hammer the serial console + wait_ms(20); // don't hammer the serial console } }