made things work (added a watchdog in the ADC read function)