for the past days i have struggled with a power controller, the functions are:
1. when pin 3 goes high it checks if its still high after 3 secs, if that is the case it activates relay 1 after another 5 secs and relay 2 after 5 more secs
2. when pin 3 goes low it shuld hold the relays for 20...