By putting things on the i2c bus, it lets you manage multiple things vs one GPIO pin to one thing...?
toggle quoted message
Show quoted text
Hmmm...
Whatever happened to open collector, active low? It has always served me well in the past.
Patrick (N3TSZ)
Then just run that bit of python code as a service through systemd, and it'll happily sit in the background waiting for Direwolf to trigger the GPIO and do its thing.
On Fri, Apr 2, 2021, 3:42 PM John Tetreault (WA1OKB) via <john.h.tetreault=
[email protected]> wrote:
I'd think you could write a program in python to act as a go between... Watch for an interrupt on a GPIO, (which Direwolf can toggle a GPIO high or low).? Then have your python code send I2C commands to the i2c relay when it sees the interrupt.
Hi.? Does Direwolf support using the i2c relay boards?? Currently have a 4 relay version and have control of it using commands through i2ctools using bash commands:
i2cset -y 1 0x11 0x01 0xFF
There are of course variations of this command which set the state of the other 3 relays and their 2 respective states.? I had in mind to use this hat for ptt (possibly for different radios or to eliminate needing a signalink usb) along with the sabrent usb soundcard.? I've seen that Direwolf already supports the use of this card amd the associated gpio pin.? Does it/can it support the use of i2c relays?