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:
- 4:26f346102b1a
- Parent:
- 3:aeaa9fa8cda0
- Child:
- 5:1e77bdd1a639
--- a/main.cpp Sun Nov 21 17:13:57 2010 +0000 +++ b/main.cpp Sun Nov 28 00:37:05 2010 +0000 @@ -27,7 +27,7 @@ int main() { - printf("\n\n/* NetServices tribute library demonstration */\n"); + printf("\n\n/* Segundo Equipo NetServices 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; @@ -81,7 +81,7 @@ svr.bind(PORT); printf("Server listening (port %d)\n", PORT); printf("- LED1 should flash\n"); - printf("- type into browser to test url decode : %s/rpc/echo/run \"quoted string with <>\"\n", ip); + printf("- type into browser to test url decode : %s/rpc/echo/run \"quoted string with <>\" or http://192.168.1.103/rpc/echo/run%%20%%22quoted%%20string%%20with%%20%%3C%%3E%%22\n", ip); Timer tm; tm.start();