merged triac control sketch & 1hz is on timer 2