From dd50dba7a260f45cca1725cf9b056faf3553963e Mon Sep 17 00:00:00 2001 From: Chris Greening Date: Tue, 26 Nov 2024 19:28:17 +0000 Subject: [PATCH] Don't hard code pins --- firmware/src/Input/AdafruitSeeSaw.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firmware/src/Input/AdafruitSeeSaw.h b/firmware/src/Input/AdafruitSeeSaw.h index aa0b6db..23c596e 100644 --- a/firmware/src/Input/AdafruitSeeSaw.h +++ b/firmware/src/Input/AdafruitSeeSaw.h @@ -31,7 +31,7 @@ class AdafruitSeeSaw bool begin(gpio_num_t data, gpio_num_t clk) { TwoWire *i2c = new TwoWire(0); - i2c->setPins(GPIO_NUM_44, GPIO_NUM_43); + i2c->setPins(data, clk); ss = new Adafruit_seesaw(i2c); if (!ss->begin(0x50)) {