Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: C12832_lcd EthernetInterface LM75B MMA7660 libxively mbed-rtos mbed
Fork of Mode_3_MBED by
Revision 14:e32799a15720, committed 2014-06-03
- Comitter:
- bhakti08
- Date:
- Tue Jun 03 04:07:27 2014 +0000
- Parent:
- 13:d4a21765a203
- Child:
- 15:53f65089126b
- Commit message:
- Send email to gmail
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- 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 );
}
}
