Xively Jumpstart Demo with WiFly module

Dependencies:   C12832_lcd LM75B MMA7660 WiflyInterface libxively mbed-rtos mbed

Deprecated

This is an mbed 2 example. For an mbed-os WiFi example, see:

[Repository '/teams/mbed-os-examples/code/mbed-os-example-wifi/docs/tip/' not found]

Files at this revision

API Documentation at this revision

Comitter:
xively
Date:
Wed Jun 26 11:54:06 2013 +0000
Parent:
3:7ad3f6543b6e
Child:
5:04b5c5242bbf
Commit message:
Added temperature datastream and sleep of 15.0

Changed in this revision

LM75B.lib Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/LM75B.lib	Wed Jun 26 11:45:42 2013 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-http://mbed.org/users/chris/code/LM75B/#6a70c9303bbe
--- 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" );