Program to use relays on an Open Source PLC (PLDuino)