講習会用です
Dependencies: EthernetInterface FiapV2 HTTPClientForSOAP NTPClient TextLCD mbed-rtos mbed spxml
Fork of temp_FIAP by
Diff: main.cpp
- Revision:
- 4:8c55a935e0d6
- Parent:
- 2:930f87d8765f
--- a/main.cpp Wed Aug 22 02:32:14 2012 +0000 +++ b/main.cpp Sun Mar 16 02:08:33 2014 +0000 @@ -12,13 +12,13 @@ time_t ctTime; TextLCD lcd(p24, p26, p27, p28, p29, p30); -AnalogIn ain(p15); +AnalogIn ain(p20); DigitalOut led(LED1); char timezone[] = "+09:00"; // JST char atemp[6]; -FIAP fiap("http://192.168.1.3/axis2/services/FIAPStorage"); +FIAP fiap("http://fiap-sandbox.gutp.ic.i.u-tokyo.ac.jp/axis2/services/FIAPStorage"); struct fiap_element element[]= { - {"http://csse-tech.jp/temp_tauchi",atemp,NULL,NULL,NULL,NULL,NULL,NULL,timezone}, + {"http://giken9.jp/no_0/temp",atemp,NULL,NULL,NULL,NULL,NULL,NULL,timezone}, }; @@ -72,6 +72,6 @@ //eth.disconnect(); while(true) { tick(); - wait(2); + wait(60); } }