Library for use with VL53L1X, intended to represent the Proximity sensor expansion board with the same name.
Dependencies: VL53L1X_mbed
Dependents: HelloWorld_53L1A1 VL53L1A1_Simple_Ranging_With_One_Device VL53L1A1_Simple_Ranging_With_All_Devices VL53L1X_Ranging_With_Multiple_Devices_MbedOS ... more
Diff: Components/Display/Display_class.h
- Revision:
- 9:367d1f390cb2
- Parent:
- 0:c523920bcc09
- Child:
- 14:8320b5ff96fa
--- a/Components/Display/Display_class.h Wed Dec 07 14:49:50 2016 +0000 +++ b/Components/Display/Display_class.h Wed Jun 07 12:53:53 2017 +0000 @@ -382,6 +382,7 @@ // stmpe1600_exp1.write16bitReg(GPSR, (uint16_t *)&CurIOVal.bytes[2]); // ordered low-byte/high-byte! + CurIOVal.bytes[1] |= 0xC0; // ensure highest bits are high, as these are xshutdown pins for left & right sensors! ExpanderData = (CurIOVal.bytes[1] << 8) + CurIOVal.bytes[0]; stmpe1600_exp0.write16bitReg(GPSR, &ExpanderData); CurIOVal.bytes[3] |= 0x80; // ensure highest bit is high, as this is xshutdown pin on central sensor!