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

Optional non-default SCL and SDA pin numbers for Wire #9

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

Conversation

nTrfAce
Copy link

@nTrfAce nTrfAce commented May 8, 2021

Add the ability to call OneWire with non-default I2C SCL and SDA
pin numbers, which get passed to Wire.

Example for M5Stack M5StickC Plus with non-default I2C Pins:

  • OneWire oneWire(26, 25);

Example for M5Stack M5StickC Plus with non-default I2C Pins
and non-zero I2C Address

  • OneWire oneWire(26, 25, 0b11);

Add the ability to call OneWire with non-default I2C SCL and SDA
pin numbers, which get passed to Wire.

Example for M5Stack M5StickC Plus with non-default I2C Pins:

 - OneWire oneWire(26, 25);

Example for M5Stack M5StickC Plus with non-default I2C Pins
and non-zero I2C Address
 - OneWire oneWire(26, 25, 0b11);
maxus-git added a commit to maxus-git/DS2482_OneWire that referenced this pull request Dec 14, 2023
- Changes from the Pull Request cybergibbons#6 and cybergibbons#9
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.

1 participant