many thanks melanie but i've just did the same. In that way the pic is always ON. I'd want to put the pic in low power mode when the input goes high and then, when the input returns low, wake up the pic in order to resume his work
many thanks melanie but i've just did the same. In that way the pic is always ON. I'd want to put the pic in low power mode when the input goes high and then, when the input returns low, wake up the pic in order to resume his work
@ SLEEP
will do the job.
Now depending the PIC you're using, you need to be check which i/o can wake the PIC.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
I imagined that
but i mean an example with the routine for sleep and awake on input HI/lo
P.S. I use proton+ picbasic v3
Then you are in the wrong forum.
http://www.picbasic.org/forum/
is then a better forum for you.
assuming that Basic is always Basic if anyone is so gentle in showing me how to make my goal, i think I'm able to "port" the code from picbasicpro to proton...
Bookmarks