CN0398 hello world

Dependencies:   CN0398 mbed

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
Parent:
0:3dc6864754ca
--- 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();