balena-io-hardware / autokit-interface-sw

Apache License 2.0
5 stars 2 forks source link

Allow for sharing single relay #69

Closed rcooke-warwick closed 8 months ago

rcooke-warwick commented 8 months ago

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

rcooke-warwick commented 8 months ago

@balena-ci I self-certify!