Skip to content

Commit

Permalink
Don't hard code pins
Browse files Browse the repository at this point in the history
  • Loading branch information
cgreening committed Nov 26, 2024
1 parent c4de266 commit dd50dba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion firmware/src/Input/AdafruitSeeSaw.h
Original file line number Diff line number Diff line change
Expand Up @@ -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))
{
Expand Down

0 comments on commit dd50dba

Please sign in to comment.