I have a relay board (active low) connected to my arduino with modbus tcp.
The module uses a high input to switch the relay off and n low input to switch it on.
From the command when a click ON the relay switches off and vice versa.
Is there a way to invert the command?
ON = 0
OFF = 1