08-29-2023, 01:58 PM
How to synchronize a physical button with a KinCony Server-Mini Raspberry Pi4 relay module?
Please give examble code!
When a physical button or switch is connected as a binary input,
For example, in the code you provided, port 18 is configured as a binary input (CM4 IN1). When this input is low, the Raspberry Pi will enable port5 CM4 relay1,
When the input is high, the Raspberry Pi will disable CM4 relay1.
Please give examble code!
When a physical button or switch is connected as a binary input,
For example, in the code you provided, port 18 is configured as a binary input (CM4 IN1). When this input is low, the Raspberry Pi will enable port5 CM4 relay1,
When the input is high, the Raspberry Pi will disable CM4 relay1.