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.
main.cpp
- Committer:
- mlimbird
- Date:
- 2015-01-10
- Revision:
- 7:4377556c2d5b
- Parent:
- 6:42acd9884ffc
- Child:
- 8:c64f76d4deff
File content as of revision 7:4377556c2d5b:
#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;
wait(1.9);
//this is an awesome program.
}
}