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: ADXL362 mbed MPL3115A2
Revision 32:f6664eade7fe, committed 2018-03-09
- Comitter:
- htdoughe
- Date:
- Fri Mar 09 16:25:10 2018 +0000
- Parent:
- 31:c924aad0dc4b
- Child:
- 33:5df68b9e96de
- Commit message:
- last code tweaks
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Fri Mar 09 16:21:15 2018 +0000
+++ b/main.cpp Fri Mar 09 16:25:10 2018 +0000
@@ -321,7 +321,7 @@
printf("measuring things\r\n");
uint8_t id = pressure.getID();
- printf("whoami = 0x%01x\r\n", id);
+ //printf("whoami = 0x%01x\r\n", id);
if(id != (uint8_t) 0xC4) {
printf("error: WHO_AM_I is not 0xC4; exiting\r\n");
return -1;
@@ -412,7 +412,7 @@
length = 0;
//while(1){
//adxl362_reg_print(start, length);
- // mpl3115_reg_print(start, length);
+ mpl3115_reg_print(start, length);
//}
//knocks();