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.
Revision 0:6681d5f7ebda, committed 2017-04-02
- Comitter:
- prtkmynk
- Date:
- Sun Apr 02 11:56:23 2017 +0000
- Commit message:
- 22; ;
Changed in this revision
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/MMA8451Q.lib Sun Apr 02 11:56:23 2017 +0000 @@ -0,0 +1,1 @@ +http://developer.mbed.org/users/emilmont/code/MMA8451Q/#c4d879a39775
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Sun Apr 02 11:56:23 2017 +0000 @@ -0,0 +1,21 @@ +#include "mbed.h" +#include "MMA8451Q.h" + +MMA8451Q acc(PTE25,PTE24,0X1d<<1); +Serial pc(USBTX,USBRX); + +float xaxis; +char choice; + +main() +{ + while(1) + { + + xaxis = acc.getAccX(); + pc.printf("%0.2f",xaxis); + wait(3); + } +} + +
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed.bld Sun Apr 02 11:56:23 2017 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/mbed_official/code/mbed/builds/9baf128c2fab \ No newline at end of file