Skip to content

Update board variants IRIV IO Controller to add pins definition for I2C1. #2916

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions variants/cytron_iriv_io_controller/pins_arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,13 @@
#define PIN_SPI0_SS (21u)

// Wire
#define PIN_WIRE0_SDA (16u)
#define PIN_WIRE0_SCL (17u)
#define __WIRE0_DEVICE i2c0
#define PIN_WIRE0_SDA (16u)
#define PIN_WIRE0_SCL (17u)

#define __WIRE1_DEVICE i2c1
#define PIN_WIRE1_SDA (31u) // Not used.
#define PIN_WIRE1_SCL (31u) // Not used.



Expand Down