Send email to gmail(trigger)
Dependencies: C12832_lcd EthernetInterface LM75B MMA7660 libxively mbed-rtos mbed
Fork of xively-jumpstart-demo by
Revision 14:e32799a15720, committed 2014-06-03
- Comitter:
- bhakti08
- Date:
- Tue Jun 03 04:07:27 2014 +0000
- Parent:
- 13:d4a21765a203
- Commit message:
- Send email to gmail
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r d4a21765a203 -r e32799a15720 main.cpp --- a/main.cpp Fri Nov 08 16:57:17 2013 +0000 +++ b/main.cpp Tue Jun 03 04:07:27 2014 +0000 @@ -1,8 +1,8 @@ #include "mbed.h" #include "EthernetInterface.h" -#define XI_FEED_ID 128488 // 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 1443794017 // set Xively Feed ID (numerical, no quoutes) +#define XI_API_KEY "iydtzKtHKHNpc4mQqq5Quv8jhi5nMwg6EKXSN6UkspZcXTrI" // set Xively API key (double-quoted string) #include "app_board_io.h" @@ -14,7 +14,8 @@ #include "C12832_lcd.h" MMA7660 axl(p28, p27); -LM75B tmp(p28, p27); +//LM75B tmp(p28, p27); +AnalogIn tmp(p19); C12832_LCD lcd; #include "logo.h" @@ -112,6 +113,6 @@ xi_feed_update( xi_context, &feed ); lcd_printf( "done...\n" ); - wait( 15.0 ); + wait( 10.0 ); } }