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
Revision 1:c8909fa1a876, committed 2016-10-26
- Comitter:
- adisuciu
- Date:
- Wed Oct 26 13:49:36 2016 +0000
- Parent:
- 0:3dc6864754ca
- Commit message:
- Added extra step in initialization
Changed in this revision
| CN0398.lib | Show annotated file Show diff for this revision Revisions of this file |
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 3dc6864754ca -r c8909fa1a876 CN0398.lib --- a/CN0398.lib Mon Oct 24 16:09:11 2016 +0000 +++ b/CN0398.lib Wed Oct 26 13:49:36 2016 +0000 @@ -1,1 +1,1 @@ -http://developer.mbed.org/teams/AnalogDevices/code/CN0398/#f1b9c875e725 +http://developer.mbed.org/teams/AnalogDevices/code/CN0398/#7072863079d5
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