I can not get the Sleep function to work.This used to work with the old C16 compiler but when changed to XC16 it stopped.The program does a sleep request then waits for WDT to wake it up periodically.Instead of executing code after the sleep the WDT cause..
↧