This allows you to use the relay expansion via the i2c command line tool
Details
Details
- Reviewers
brd mizhka adrian - Commits
- rS313474: Add I2C device hints for Onion Omega
Activate the relay with: printf '\01' | i2c -a 0x27 -d w -o 0x09 -c 1
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
That is my understanding yes.
Then you access the 8 possible relay shields (each with 2 relays) by their address on the I2C bus