Skip to content
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

Added support for custom TwoWire interfce #6

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

yeckel
Copy link

@yeckel yeckel commented Dec 6, 2019

This change is adding support for custom I2C interface, which is useful when there are more than one in the HW. It's also enabling setting custom SDA and SCL pins and the bus frequency.

It's backward compatible and shall not break anything.

@ladyada
Copy link
Member

ladyada commented Dec 6, 2019

thanks, this chip is discontinued...we don't have any more. how did you test these changes? :)

@yeckel
Copy link
Author

yeckel commented Dec 6, 2019

I've some old stock in my workshop and I wanted to use them with with an esp32 mcu.
The code is:

void setup{
  Wire.begin(5,4);
  if(!mag.begin(Wire)){
..

@ladyada
Copy link
Member

ladyada commented Dec 8, 2019

ok awesome. we can't find our HMC5883 rigth now so will leave this PR open, and test once we find the missing board :)

@TheOfficialMrBlah
Copy link

ok awesome. we can't find our HMC5883 rigth now so will leave this PR open, and test once we find the missing board :)

Are there any news yet?

This pr is now over three years old...

@g1ra
Copy link

g1ra commented Nov 16, 2024

Hi . Adafruit please when this will be merged ?

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.

4 participants