lab 6

Dependencies:   ADXL362 mbed MPL3115A2

Revision:
6:f05c72e636aa
Parent:
5:02aa71487c01
Child:
7:446c8e17a945
--- 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;