Use accelerometer to wake up screen (#2371)

* WIP accelerometer tinkering

* Debug logging

* RAK LIS3DH sensor

* Deconflict temperature sensor and LIS3DH

* Finishing up

* StateON

* Protobufs

* Default of none

* Formatting
This commit is contained in:
Ben Meadors
2023-03-23 11:32:04 -05:00
committed by GitHub
co-authored by GitHub
parent 78522e750c
commit 5cb1f96240
13 changed files with 131 additions and 15 deletions
+4
View File
@@ -31,6 +31,8 @@ class ScanI2C
QMI8658,
QMC5883L,
PMSA0031,
MPU6050,
LIS3DH,
} DeviceType;
// typedef uint8_t DeviceAddress;
@@ -79,6 +81,8 @@ class ScanI2C
FoundDevice firstKeyboard() const;
FoundDevice firstAccelerometer() const;
virtual FoundDevice find(DeviceType) const;
virtual bool exists(DeviceType) const;