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

Add sensor type interface #7

Merged
merged 3 commits into from
Apr 10, 2024
Merged

Add sensor type interface #7

merged 3 commits into from
Apr 10, 2024

Conversation

psachs
Copy link
Member

@psachs psachs commented Apr 9, 2024

Add interfaces for sensor type and i2c scan

Add interface to get/set the sensor type and to scan and set
i2c address of connected sensor.

This is necessary if the cable is not already configured for the
setup or if a special setup is needed.

Copy link

@dominiksimonleuenberger dominiksimonleuenberger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi, maybe stupid question: what is set sensor type 4:? param sensor_type is said to be between 0-4 i.e. in range(5).

Add interface to get/set the sensor type and to scan and set
i2c address of connected sensor.

This is necessary if the cable is not already configured for the
setup or if a special setup is needed.
Bump version and update changelog
@psachs
Copy link
Member Author

psachs commented Apr 10, 2024

Updated documentation and add missing type hints

Git hub release action should only run if a new tag is published
@psachs psachs merged commit 81516c5 into main Apr 10, 2024
31 checks passed
@psachs psachs deleted the add-sensor-type-interface branch April 10, 2024 07:52
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.

None yet

2 participants