I want to make two on-screen graphic buttons, one for first relay, one for second relay. When you click one button, relay will be closed for some time (for exampe: 1 sec.) and after that time relay will open. The same for second relay.
I don't know how to make this, can somebody help me with making, I know it is easy and it doesn't tako a lot of time but I don't know how to do it.
Thank you so much.