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

Allow for sharing single relay #69

Merged
merged 3 commits into from
Jan 9, 2024
Merged

Conversation

rcooke-warwick
Copy link
Collaborator

@rcooke-warwick rcooke-warwick commented Jan 5, 2024

Allow for using a single multi-channel relay, with one channel for power and one for other things such as controlling a boot switch/jumper on the DUT.

Configurable with env vars:
POWER_RELAY_NUM
DIGITAL_RELAY_NUM

If not specified it defaults to 0 which toggles all channels

Change-type: patch

Change-type: patch
Signed-off-by: Ryan Cooke <[email protected]>
Change-type: patch
Signed-off-by: Ryan Cooke <[email protected]>
Change-type: patch
Signed-off-by: Ryan Cooke <[email protected]>
@rcooke-warwick rcooke-warwick marked this pull request as ready for review January 9, 2024 15:27
@rcooke-warwick
Copy link
Collaborator Author

@balena-ci I self-certify!

@rcooke-warwick rcooke-warwick merged commit e4857a6 into master Jan 9, 2024
47 checks passed
@rcooke-warwick rcooke-warwick deleted the ryan/relay-channel branch January 9, 2024 16:10
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