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.
For additional information check out the mbed page of the Analog Devices wiki: https://wiki.analog.com/resources/tools-software/mbed-drivers-all
Diff: main.cpp
- Revision:
- 1:c8909fa1a876
- Parent:
- 0:3dc6864754ca
diff -r 3dc6864754ca -r c8909fa1a876 main.cpp
--- a/main.cpp Mon Oct 24 16:09:11 2016 +0000
+++ b/main.cpp Wed Oct 26 13:49:36 2016 +0000
@@ -74,7 +74,10 @@
cn0398.setup();
cn0398.init();
wait_ms(500);
- pc.printf("Done\r\n");
+ pc.printf("CN0398 - ph and moisture measurement demo\r\nPress any key to continue...\r\n");
+ pc.getc();
+ wait_ms(10);
+ flush_serial();
pc.printf("Do you want to perform calibration [y/N] ? ");
char response = pc.getc();
CN0398