feat: add TTP223 touch sensor support and wiring configuration

This commit is contained in:
2025-03-29 14:18:58 +01:00
parent 07a919b6ba
commit 2bf7c9fb7d
3 changed files with 18 additions and 20 deletions

View File

@@ -19,6 +19,12 @@ const uint16_t SCALE_LEVEL_WEIGHT = 500;
uint16_t defaultScaleCalibrationValue = 430;
// ***** HX711
// ***** TTP223 (Touch Sensor)
// TTP223 circuit wiring
const uint8_t TTP223_PIN = 15;
// ***** TTP223
// ***** Display
// Declaration for an SSD1306 display connected to I2C (SDA, SCL pins)
// On an ESP32: 21(SDA), 22(SCL)