led get
Dependencies: C12832_lcd EthernetInterface LM75B MMA7660 mbed-libxively-6eca970 mbed-rtos mbed
Fork of Application-xively-jumpstart-demo by
Diff: main.cpp
- Revision:
- 4:e7ca62a11595
- Parent:
- 3:7ad3f6543b6e
- Child:
- 6:9af362ececc4
--- a/main.cpp Wed Jun 26 11:45:42 2013 +0000 +++ b/main.cpp Wed Jun 26 11:54:06 2013 +0000 @@ -10,10 +10,8 @@ #include "MMA7660.h" #include "LM75B.h" -//#define XI_FEED_ID 123 // set Xively Feed ID (numerical, no quoutes -//#define XI_API_KEY "T4KXAH_dasgw1PWBPc3fdsfsdgsdy-dUc4ND0g" // set Xively API key (double-quoted string) -#define XI_FEED_ID 128488 -#define XI_API_KEY "9YL5ZOL8pV0gLeJMKJeQPy5TaQJkz06IpgccQD2fXvjezSll" +#define XI_FEED_ID 123 // set Xively Feed ID (numerical, no quoutes +#define XI_API_KEY "T4KXAH_dasgw1PWBPc3fdsfsdgsdy-dUc4ND0g" // set Xively API key (double-quoted string) #include "C12832_lcd.h" @@ -148,7 +146,7 @@ } xi_set_value_f32( current_temperature, tmp.read() ); - + mbed_printf( "update...\n" ); xi_feed_update(xi_context, &feed); mbed_printf( "done...\n" );