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: ADXL345_I2C mbed
Fork of ADXL345 by
Revision 1:c835cfa8b41c, committed 2016-04-28
- Comitter:
- 1050186
- Date:
- Thu Apr 28 11:23:58 2016 +0000
- Parent:
- 0:75c7bfd01ea0
- Commit message:
- First commit
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
| mbed.bld | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Fri Mar 11 15:54:40 2011 +0000 +++ b/main.cpp Thu Apr 28 11:23:58 2016 +0000 @@ -1,8 +1,7 @@ #include "mbed.h" #include "ADXL345_I2C.h" -//ADXL345 accelerometer(p5, p6, p7, p8); -ADXL345_I2C accelerometer(p9, p10); +ADXL345_I2C accelerometer(I2C_SDA, I2C_SCL); Serial pc(USBTX, USBRX); int main()
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed.bld Thu Apr 28 11:23:58 2016 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/mbed_official/code/mbed/builds/aae6fcc7d9bb \ No newline at end of file
