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
Diff: main.cpp
- Revision:
- 6:f05c72e636aa
- Parent:
- 5:02aa71487c01
- Child:
- 7:446c8e17a945
diff -r 02aa71487c01 -r f05c72e636aa main.cpp
--- a/main.cpp Thu Feb 22 20:19:25 2018 +0000
+++ b/main.cpp Thu Feb 22 20:26:49 2018 +0000
@@ -97,6 +97,7 @@
// start sending stuff
//first check DEVID_AD == 0xAD
int devid = (int) adxl362.read_reg_u16(ADXL362::DEVID_AD);
+ printf("devid = %d\n", devid);
if(devid != 0xAD){
printf("error: DEVID_AD is not 0xAD; exiting\n");
return -1;