for PH sensor Hub

Dependencies:   Analog_PH_Sensor libmDot mbed-rtos mbed

Fork of LoRA_PH_SenorHub by tao wang1

Revision:
1:7e277a45b3f7
Parent:
0:edb3ff445825
Child:
2:0aa55ad78695
--- a/main.cpp	Thu Aug 11 11:11:36 2016 +0000
+++ b/main.cpp	Thu Aug 11 11:16:28 2016 +0000
@@ -16,16 +16,12 @@
 // uncomment the following lines and edit their values to match your configuration
 static std::string config_network_name = "phsensorhub";
 static std::string config_network_pass = "iotlab";
-static uint8_t config_frequency_sub_band = 2;
 
 int main() {
-    int32_t ret;
     mDot* dot;
     std::vector<uint8_t> data;
     std::vector<uint8_t> send_data;
-    float PhValue;
     std::string data_str = "PH Sensors Hub";
-    int error = 0;
     float ph_ch0;
     char dataBuf[20];