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: mbed C12832 MMA7660
Revision 7:f907f3537758, committed 2021-12-08
- Comitter:
- brissou
- Date:
- Wed Dec 08 14:35:39 2021 +0000
- Parent:
- 6:8b78adfc4faa
- Commit message:
- ex10
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 |
diff -r 8b78adfc4faa -r f907f3537758 main.cpp --- a/main.cpp Mon Nov 02 14:25:24 2015 +0000 +++ b/main.cpp Wed Dec 08 14:35:39 2021 +0000 @@ -14,8 +14,12 @@ lcd.printf("lecture de l'accelerometre"); while(1) { - lcd.locate(0,8); + lcd.locate(0,12); lcd.printf("x=%.2f",MMA.x()); + lcd.locate(50,12); + lcd.printf("y=%.2f",MMA.y()); + lcd.locate(100,12); + lcd.printf("z=%.2f",MMA.z()); wait(0.2); } }
diff -r 8b78adfc4faa -r f907f3537758 mbed.bld --- a/mbed.bld Mon Nov 02 14:25:24 2015 +0000 +++ b/mbed.bld Wed Dec 08 14:35:39 2021 +0000 @@ -1,1 +1,1 @@ -http://mbed.org/users/mbed_official/code/mbed/builds/9296ab0bfc11 \ No newline at end of file +https://os.mbed.com/users/mbed_official/code/mbed/builds/65be27845400 \ No newline at end of file