Page MenuHomeFreeBSD

Add I2C device hints for Onion Omega
ClosedPublic

Authored by allanjude on Feb 9 2017, 3:27 AM.
Tags
None
Referenced Files
Unknown Object (File)
Nov 18 2024, 2:57 AM
Unknown Object (File)
Oct 24 2024, 9:42 PM
Unknown Object (File)
Oct 18 2024, 9:15 AM
Unknown Object (File)
Oct 10 2024, 12:09 AM
Unknown Object (File)
Oct 3 2024, 7:54 PM
Unknown Object (File)
Oct 2 2024, 11:54 PM
Unknown Object (File)
Oct 1 2024, 7:13 PM
Unknown Object (File)
Oct 1 2024, 5:21 PM
Subscribers

Details

Summary

This allows you to use the relay expansion via the i2c command line tool

Test Plan

Activate the relay with: printf '\01' | i2c -a 0x27 -d w -o 0x09 -c 1

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

allanjude retitled this revision from to Add I2C device hints for Onion Omega.
allanjude updated this object.
allanjude edited the test plan for this revision. (Show Details)
allanjude added reviewers: adrian, brd, mizhka.

hm, there are other shields, right? So the omega always wires up 20/21 as i2c?

That is my understanding yes.

Then you access the 8 possible relay shields (each with 2 relays) by their address on the I2C bus

adrian edited edge metadata.
This revision is now accepted and ready to land.Feb 9 2017, 5:26 AM
mizhka edited edge metadata.
This revision was automatically updated to reflect the committed changes.