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

Sensor INA219: Use optional i2c_bus_num #328

Merged
merged 2 commits into from
Aug 3, 2023
Merged

Conversation

mschlenstedt
Copy link
Contributor

  • Adds ability to set bus - needed for Raspberry 4 because autodetection fails on this board
  • Sets default shunt_ohms to 0.1 (instead of 100) - the almost always used R100 has 0.1 Ohms, not 100 Ohms.

- Optional i2c_bus_num if autodetects fails (often on Pi4)
- shunt_ohms defaults to 0.1 (equals to R100, which is used in almost all boards)
@BenjiU BenjiU merged commit 2bb2f94 into flyte:develop Aug 3, 2023
5 checks passed
@BenjiU BenjiU self-assigned this Aug 3, 2023
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.

2 participants