diff options
| author | jacqueline <me@jacqueline.id.au> | 2023-03-30 09:31:08 +1100 |
|---|---|---|
| committer | jacqueline <me@jacqueline.id.au> | 2023-03-30 09:31:08 +1100 |
| commit | a0ae39befe11c2a5a78ee5877cd5dd9cda90e27c (patch) | |
| tree | 21d51e8929d3c6fa9ffa4bf78da0eacb5c0c27a2 /src/drivers/i2c.cpp | |
| parent | 53ad4fc3f260ea7de56d1bce24e284b48c0e856b (diff) | |
| download | tangara-fw-a0ae39befe11c2a5a78ee5877cd5dd9cda90e27c.tar.gz | |
Update pinouts for R3
Diffstat (limited to 'src/drivers/i2c.cpp')
| -rw-r--r-- | src/drivers/i2c.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/drivers/i2c.cpp b/src/drivers/i2c.cpp index a66f54f0..3773055d 100644 --- a/src/drivers/i2c.cpp +++ b/src/drivers/i2c.cpp @@ -9,8 +9,8 @@ namespace drivers { static const i2c_port_t kI2CPort = I2C_NUM_0; -static const gpio_num_t kI2CSdaPin = GPIO_NUM_2; -static const gpio_num_t kI2CSclPin = GPIO_NUM_4; +static const gpio_num_t kI2CSdaPin = GPIO_NUM_4; +static const gpio_num_t kI2CSclPin = GPIO_NUM_2; static const uint32_t kI2CClkSpeed = 400'000; static constexpr int kCmdLinkSize = I2C_LINK_RECOMMENDED_SIZE(12); |
