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.
Diff: main.cpp
- Revision:
- 7:4377556c2d5b
- Parent:
- 6:42acd9884ffc
- Child:
- 8:c64f76d4deff
--- a/main.cpp Fri Jan 09 15:53:44 2015 -0500
+++ b/main.cpp Sat Jan 10 02:26:04 2015 +0000
@@ -1,9 +1,15 @@
#include "mbed.h"
+I2C i2c( p9, p10 ); // sda, scl
DigitalOut myled(LED1);
int main() {
+ int adxlData[3];
+ int itgData[3];
+ int hmcData[3];
+
while(1) {
+
myled = 1;
wait(0.1333);
myled = 0;