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
Diff: main.cpp
- Revision:
- 5:1e77bdd1a639
- Parent:
- 4:26f346102b1a
- Child:
- 6:ebbde59c5a1d
diff -r 26f346102b1a -r 1e77bdd1a639 main.cpp --- a/main.cpp Sun Nov 28 00:37:05 2010 +0000 +++ b/main.cpp Wed Dec 15 18:03:19 2010 +0000 @@ -45,7 +45,7 @@ IpAddr ethIp = eth.getIp(); printf("IP address : %d.%d.%d.%d\n", ethIp[0], ethIp[1], ethIp[2], ethIp[3]); - printf("Check router DHCP table for name : %s\n", HOSTNAME); + printf("Check router DHCP table for name : %s\n", eth.getHostname()); printf("\nHTTPClient get...\n"); HTTPText txt;