Is there a command in Flowcode 3 to put my PIC12F629 to SLEEP by software?
I would like to be able to put it to SLEEP at a few places in the code and was wondering how to do this. I cannot find anything in the Help and the only reference to SLEEP in the Forums is to "wanted features in Flowcode 3".
If it has to be done by inserting C code, can anyone guide me as to what to write. (I am an old Fortran programmer and don't know any C).
On a similar note, a normal Flowcode program has a "BEGIN" and an "END". Does the "End" constitute SLEEP or is it something else?
Basically I want to run the PIC12F629 from batteries, and use an Input Switch to WAKE it up and also Input to the program, and then later, using the same Input switch, send the PIC12F629 to SLEEP.
Any help is appreciated.
Best regards,
Michael