Dreameforce 2013 giveaway demo
Dependencies: C12832_lcd EthernetInterface LM75B MMA7660 libxively mbed-rtos mbed
Fork of xively-dreamforce by
Diff: main.cpp
- Revision:
- 4:e7ca62a11595
- Parent:
- 3:7ad3f6543b6e
- Child:
- 6:9e4f4a8c1829
- Child:
- 7:0eff5db44b8b
--- 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" );