Fork from ST-Expansion-Sw-Team Repo.
Dependencies: VL53L1X_mbed
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!