A collection of Analog Devices drivers for the mbed platform
For additional information check out the mbed page of the Analog Devices wiki: https://wiki.analog.com/resources/tools-software/mbed-drivers-all
Revision 32:97d248e81e7f, committed 2016-10-26
- Comitter:
- Adrian Suciu
- Date:
- Wed Oct 26 16:47:55 2016 +0300
- Parent:
- 31:511c6ff17de3
- Child:
- 33:c3ec596a29c2
- Commit message:
- CN0398 - Added extra step in initialization
Changed in this revision
| examples/cn0398_example/main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/examples/cn0398_example/main.cpp Tue Oct 25 14:38:29 2016 +0300
+++ b/examples/cn0398_example/main.cpp Wed Oct 26 16:47:55 2016 +0300
@@ -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();
CN0357 - Toxic gas measurement
CN0216 - Weight Scale