```
_____ _ _ _
/ ___| | | (_)| |
\ `--. ___ _ __ ___ ___ _ __ | | _ | |__
`--. \ / _ \| '_ \ / __| / _ \ | '__|| | | || '_ \
/\__/ /| __/| | | |\__ \| (_) || | | |____| || |_) |
\____/ \___||_| |_||___/ \___/ |_| \_____/|_||_.__/
··· ···
> Commonly used I2C , SPI device multi-platform libraries
```
[](https://github.com/lewisxhe/SensorLib/actions/workflows/esp-idf.yml)
[](https://github.com/lewisxhe/SensorLib/actions/workflows/arduino_ci.yml)
[](https://github.com/lewisxhe/SensorLib/actions/workflows/pio.yml)
[](https://www.ardu-badge.com/SensorLib)
[](https://registry.platformio.org/libraries/lewisxhe/SensorLib)
[](https://github.com/lewisxhe/SensorLib/blob/master/LICENSE)
[](https://github.com/lewisxhe/SensorsLib/issues)
[](https://github.com/lewisxhe/SensorsLib/graphs/contributors)
[](https://github.com/lewisxhe/SensorsLib/stargazers)
[](https://github.com/lewisxhe/SensorLib/releases)
## RTC



## Motion Sensor





## GPIO Expansion


## Haptic Driver

## Light Sensor


## Touchpad














Support list:
| Sensor | Description | I2C | SPI |
| --------------- | ------------------------ | --- | --- |
| PCF8563/HYM8563 | Real-time clock | ✔️ | ❌ |
| PCF85063 | Real-time clock | ✔️ | ❌ |
| QMI8658 | IMU | ✔️ | ✔️ |
| BHI260AP | IMU | ✔️ | ✔️ |
| QMC6310 | Magnetic Sensor | ✔️ | ❌ |
| BMM150 | Magnetic Sensor | ✔️ | ❌ |
| XL9555 | I/O expander | ✔️ | ❌ |
| BMA423 | Accelerometer | ✔️ | ❌ |
| DRV2605 | Haptic Driver | ✔️ | ❌ |
| CM32181 | Ambient Light Sensor | ✔️ | ❌ |
| LTR553 | Light & Proximity Sensor | ✔️ | ❌ |
| FT3267 | Capacitive touch | ✔️ | ❌ |
| FT5206 | Capacitive touch | ✔️ | ❌ |
| FT6206 | Capacitive touch | ✔️ | ❌ |
| FT6236 | Capacitive touch | ✔️ | ❌ |
| CST820 | Capacitive touch | ✔️ | ❌ |
| CST816S/T/D | Capacitive touch | ✔️ | ❌ |
| CST226SE | Capacitive touch | ✔️ | ❌ |
| CHSC5816 | Capacitive touch | ✔️ | ❌ |
| GT911 | Capacitive touch | ✔️ | ❌ |
| CST9217 | Capacitive touch | ✔️ | ❌ |
| CST9220 | Capacitive touch | ✔️ | ❌ |
| GT9895 | Capacitive touch | ✔️ | ❌ |
idf.py add-dependency "cfscn/sensorlib^0.2.2"