RTC

now starts sampling ADC after switching PWM