Uploading sensor data (voltage divider, MAX4172, INA219) over Ethernet to Thing Speak service. Uses old mbed revision that is compatible with NetServices library. I2C communication is made with I2CR library.

Dependencies:   C12832 I2CR INA219 NetServices mbed

Fork of NetServices_HelloWorld by Segundo Equipo

Revision:
8:9b35ac104ab7
Parent:
7:1da0a084cd69
diff -r 1da0a084cd69 -r 9b35ac104ab7 Sensor.h
--- a/Sensor.h	Sun Nov 29 13:41:05 2015 +0000
+++ b/Sensor.h	Sun Nov 29 14:26:32 2015 +0000
@@ -1,3 +1,7 @@
+#ifndef _SENSOR_H
+#define SENSOR_H  
+#include "mbed.h"
+
 /** Simple class for sensor with linear otuput. Made for later upgrading, to avarage values from ADC
  * Example:
  * @code
@@ -14,10 +18,6 @@
  * @endcode
 
 */
-#ifndef _SENSOR_H
-#define SENSOR_H  
-#include "mbed.h"
-
 class Sensor {
      
      public: