Closed
Description
hi folks - we get about 1 request every week or so for us to change our libraries so people can pass I2C pin numbers into Wire.begin()
We can't merge these PRs because official Arduino code style has Wire.begin()
in sensor/device begin()
:
https://github.com/arduino-libraries/Arduino_LSM6DS3/blob/master/src/LSM6DS3.cpp#L76
please add a Wire.setPins()
or similar function that can be called at the beginning of the sketch, instead of breaking compatibility by changing the prototype of Wire.begin() - it will make both library developers and users much happier!
see:
Metadata
Metadata
Assignees
Labels
No labels