Skip to content

Feature: add optional i2c bus parameter#4

Open
gsotirchos wants to merge 3 commits into
regisin:masterfrom
gsotirchos:feature-add-optional-i2c-bus-parameter
Open

Feature: add optional i2c bus parameter#4
gsotirchos wants to merge 3 commits into
regisin:masterfrom
gsotirchos:feature-add-optional-i2c-bus-parameter

Conversation

@gsotirchos
Copy link
Copy Markdown

Added an optional argument in INA219::init_i2c() to be able to specify the i2c device file (if not specified the default /dev/i2c-1 is used, as before).

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