Radiomaster Bandit Accelerometer support (#4667)

* Added STK8xxxx Accelerometer chip

Added detection of STK8BA53 to I2C scanner.
Change the way and order MCP9808, lLISH3DH and STK8BA53 is detected since they all shares the same I2C address.

* Accelerometer support Radiomaster Bandit.

Enables tap to wake screen if enabled in config,

* Trunk

Trunk
This commit is contained in:
Michael Gjelsø
2024-09-12 01:53:17 +02:00
committed by GitHub
parent ba9a3cd719
commit f37df4d6bf
7 changed files with 62 additions and 15 deletions

View File

@@ -11,12 +11,17 @@
/*
I2C SDA and SCL.
0x18 - STK8XXX Accelerometer, Not supported yet.
0x18 - STK8XXX Accelerometer
0x3C - SH1115 Display Driver
*/
#define I2C_SDA 14
#define I2C_SCL 12
/*
I2C STK8XXX Accelerometer Interrupt PIN to ESP32 Pin 6 - SENSOR_CAPP (GPIO37)
*/
#define STK8XXX_INT 37
/*
No GPS - but free pins are available.
*/