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: mbed MMA8452Q MS5837 SDFileSystem SCI_SENSOR
Diff: main.cpp
- Revision:
- 38:46975eaa1400
- Parent:
- 37:7bb14ad22d78
- Child:
- 39:f2f0308ebecd
--- a/main.cpp Wed Dec 08 22:16:44 2021 +0000 +++ b/main.cpp Wed Dec 08 22:18:10 2021 +0000 @@ -193,7 +193,7 @@ //Code from Licht //Sample code shows how to read temperature and light data: - //BLE.printf("Temperature: %f Light: %f\r\n",temp.temp(), light.light()); + BLE.printf("Temperature: %f Light: %f\r\n",temp.temp(), light.light()); //Sample code shows how to read pressure sensor //BLE.printf("Depth: %f Pressure: %f Temperature: %f\r\n", p_sensor.depth(), p_sensor.MS5837_Pressure(), p_sensor.MS5837_Temperature());