sleep and wake up
for my code the sleep and wake up is happening simultaneously I need the wake up only on if(MV>20) and sleep if(MV<100) for a minute(low power mode)Please someone help to sort it out #include "stm8s.h" #include "stm8s_clk.h" #include "stm8s_adc1.h"...