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)
Mar 8 2024, 3:14 AM
Unknown Object (File)
Dec 20 2023, 1:33 AM
Unknown Object (File)
Dec 7 2023, 1:05 AM
Unknown Object (File)
Nov 17 2023, 6:57 PM
Unknown Object (File)
Oct 14 2023, 4:28 PM
Unknown Object (File)
Aug 27 2023, 1:08 PM
Unknown Object (File)
Jul 7 2023, 5:56 PM
Unknown Object (File)
Jan 4 2023, 8:51 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 Passed
Unit
No Test Coverage
Build Status
Buildable 7297
Build 7465: arc lint + arc unit

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.