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
Diff: examples/cn0398_example/main.cpp
- Revision:
- 32:97d248e81e7f
- Parent:
- 30:990ce210e8c2
diff -r 511c6ff17de3 -r 97d248e81e7f examples/cn0398_example/main.cpp --- 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();