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

Fix #45 support STM32 set I2C pins #46

Merged
merged 2 commits into from
Sep 20, 2023
Merged

Fix #45 support STM32 set I2C pins #46

merged 2 commits into from
Sep 20, 2023

Conversation

RobTillaart
Copy link
Owner

No description provided.

@RobTillaart RobTillaart self-assigned this Sep 16, 2023
@RobTillaart RobTillaart added the enhancement New feature or request label Sep 16, 2023
@RobTillaart RobTillaart changed the title Fix #45 support STM set I2C pins Fix #45 support STM32 set I2C pins Sep 16, 2023
@BRTFTW
Copy link

BRTFTW commented Sep 20, 2023

Tested successfully with my arduino project (STM32G4) and HW.
Nicely done! I didn't know about ARDUINO_ARCH_{...}

@RobTillaart RobTillaart merged commit 75cdb95 into master Sep 20, 2023
5 checks passed
@RobTillaart RobTillaart deleted the develop branch September 20, 2023 09:40
@RobTillaart
Copy link
Owner Author

@BRTFTW
FYI,
I am refactoring the API of begin as setting wire parameters in the library is not portable in the end.
The change is merely you need to set the Wire parameters yourself before calling AS5600.begin().
I've added an example in the PR / develop branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants