S-LABc / MT6701-Arduino-Library

Библиотека Arduino для магнитного датчика MT6701
MIT License
9 stars 4 forks source link

STM32 support for custom I2C pins #2

Closed BRTFTW closed 11 months ago

BRTFTW commented 11 months ago

Hi there

While using this library, I had to specify which pins I want to use for I2C communication on my STM32 Nucleo board. The changes use Arduino wide defines for the STM32 platform. The user can then just use the overloaded begin function with the specified pins.

S-LABc commented 11 months ago

Hi there

While using this library, I had to specify which pins I want to use for I2C communication on my STM32 Nucleo board. The changes use Arduino wide defines for the STM32 platform. The user can then just use the overloaded begin function with the specified pins.

Thanks for your contribution to the project!