Skip to content

machine/rp2040: implement i2c #2013

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 2 commits into from
Aug 6, 2021
Merged

Conversation

soypat
Copy link
Contributor

@soypat soypat commented Jul 24, 2021

Please take a look. Tested it with mpu6050 driver. Solves #1989.

@deadprogram
Copy link
Member

The I2C pin definitions are needed here just like in the SPI PR, please.

@deadprogram
Copy link
Member

Hello @soypat now that #1991 has been merged there are some conflicts here that need to be addressed, if you please.

machine/rp2040: add i2c

apply @deadprogram's suggestions. thanks!

consolidate pin naming

fix up i2c configuration

forgot about featherRP2040

add i2c pins for nano connect

add i2c variable handles
@soypat
Copy link
Contributor Author

soypat commented Aug 1, 2021

@deadprogram had to rollback merge to squash commits. Should be A-OK now.

@deadprogram
Copy link
Member

Tested with my SSD1306 display and worked perfectly. Thanks @soypat now squash/merging.

@deadprogram deadprogram merged commit 4f7b23c into tinygo-org:dev Aug 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants