Help with writing to registers for 1Hz pwm and timer interrupt

Don't forget volatile :grinning: