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:
- 27:e0943cb83251
- Parent:
- 26:379bc50f5f23
- Child:
- 28:55b04fb61809
--- a/main.cpp Wed Dec 08 19:17:39 2021 +0000 +++ b/main.cpp Wed Dec 08 19:35:16 2021 +0000 @@ -93,6 +93,7 @@ //Part One int count=0; while(count<3) { + led3=1; count=count+1; float pw= percent; float on_time =tim; @@ -103,7 +104,7 @@ //Part Two timer2.start(); while(1) { - + led3=0; float current_depth=p_sensor.depth(); float pw=percent; float on_time=3;