
demo of the murata wifi chip. This demo tries to connect to an open wifi access point and prints out all the relevant information about the connection. It then scans all wifi access points nearby and reports their information.
Dependencies: SNICInterface mbed-rtos mbed
Fork of SNIC-xively-jumpstart-demo by
Revision 4:e7ca62a11595, committed 2013-06-26
- 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" );