for PH sensor Hub

Dependencies:   Analog_PH_Sensor libmDot mbed-rtos mbed

Fork of LoRA_PH_SenorHub by tao wang1

Files at this revision

API Documentation at this revision

Comitter:
wang1tao
Date:
Thu Aug 11 11:23:38 2016 +0000
Parent:
1:7e277a45b3f7
Commit message:
add debug info

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 7e277a45b3f7 -r 0aa55ad78695 main.cpp
--- a/main.cpp	Thu Aug 11 11:16:28 2016 +0000
+++ b/main.cpp	Thu Aug 11 11:23:38 2016 +0000
@@ -25,15 +25,14 @@
     float ph_ch0;
     char dataBuf[20];
  
+ logInfo("System starting...");
  #ifdef NO_MULTITECH_GATEWAY   
     // get a mDot handle
     dot = mDot::getInstance();
- #endif
  
     // print library version information
     logInfo("version: %s", dot->getId().c_str());
 
-#ifdef NO_MULTITECH_GATEWAY 
     //*******************************************
     // configuration
     //*******************************************