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

Files at this revision

API Documentation at this revision

Comitter:
segundo
Date:
Sun Nov 21 17:13:57 2010 +0000
Parent:
2:16857d9ab50d
Child:
4:26f346102b1a
Commit message:

Changed in this revision

NetServices.lib Show annotated file Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/NetServices.lib	Fri Nov 19 21:54:02 2010 +0000
+++ b/NetServices.lib	Sun Nov 21 17:13:57 2010 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/users/segundo/code/NetServices/#5a6792c147c0
+http://mbed.org/users/segundo/code/NetServices/#966a0265edfc
--- a/main.cpp	Fri Nov 19 21:54:02 2010 +0000
+++ b/main.cpp	Sun Nov 21 17:13:57 2010 +0000
@@ -30,8 +30,9 @@
     printf("\n\n/* NetServices tribute library demonstration */\n");
     printf("Try starting the program with the network disconnected and then connect after a few timeouts reported\n\n");
     EthernetErr ethErr;
+    int count = 0;
     do {
-        printf("Setting up...\n");
+        printf("Setting up %d...\n", ++count);
         ethErr = eth.setup();
         if (ethErr) printf("Timeout\n", ethErr);
     } while (ethErr != ETH_OK);