2021 Feb 16, 04:27 PM
Hi Andre'
You should be able to use the cli plugin and the commands from the web site of the hat vendor:
Direct control without programming(Raspberry Pi:
On the setup page of the cli plugin enter the commands above for each relay channel in the on and off columns.
You should be able to use the cli plugin and the commands from the web site of the hat vendor:
Direct control without programming(Raspberry Pi:
- Turn on channel No.1 relay
Code:
i2cset -y 1 0x10 0x01 0xFF
- Turn off channel No.1 relay
Code:
i2cset -y 1 0x10 0x01 0x00
- Turn on channel No.2 relay
Code:
i2cset -y 1 0x10 0x02 0xFF
- Turn off channel No.2 relay
Code:
i2cset -y 1 0x10 0x02 0x00
- Turn on channel No.3 relay
Code:
i2cset -y 1 0x10 0x03 0xFF
- Turn off channel No.3 relay
Code:
i2cset -y 1 0x10 0x03 0x00
- Turn on channel No.4 relay
Code:
i2cset -y 1 0x10 0x04 0xFF
- Turn off channel No.4 relay
Code:
i2cset -y 1 0x10 0x04 0x00
On the setup page of the cli plugin enter the commands above for each relay channel in the on and off columns.
<p><br></p>