Skip to content

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

Open
nTrfAce wants to merge 1 commit into
cybergibbons:masterfrom
nTrfAce:master
Open

Optional non-default SCL and SDA pin numbers for Wire#9
nTrfAce wants to merge 1 commit into
cybergibbons:masterfrom
nTrfAce:master

Conversation

@nTrfAce

@nTrfAce nTrfAce commented May 8, 2021

Copy link
Copy Markdown

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