Find separate sketches, one that reads the I BUS and one that controls a four-channel relay. Now merge them. There is even a merge tutorial here for those who need help
Find separate sketches, one that reads the I BUS and one that controls a four-channel relay. Now merge them. There is even a merge tutorial here for those who need help