Page 1 of 1
Need SIMPLE pic sleep example
Posted: Wed Feb 13, 2013 2:42 pm
by Drakkor
Hello. I am sorry but these forums are like my internet favorites.......an unorganized mess. I need a simple example of putting a pic to sleep. Just say a pic12f675. Just say the pic starts out sleeping...then a button wakes it up...it lights an LED....say for 30 seconds. Then, it goes back to sleep. Sometimes there may be examples that are WAY to involved when all someone like myself needs is a simple code example, not some long, drawn out change the world example : ( other times, I search and get all these posts in French or Spanish??? I don't mean to bitch but this stuff should be so easy to find. So.........HELP ME : ) Thanks in advance : )
Re: Need SIMPLE pic sleep example
Posted: Wed Feb 13, 2013 8:03 pm
by jgu1
Hi Drakkor!
Have a look here:
http://www.matrixmultimedia.com/mmforum ... =26&t=4967 Maybe it´s something you can use
Best regard
Jorgen
Re: Need SIMPLE pic sleep example
Posted: Wed Feb 13, 2013 9:23 pm
by Drakkor
Hello. Thanks. The example doesn't seem to be what i was looking for. Again, it tries to do way too much whan looking for a SIMPLE example? it has a 10 sec switch debounce but there is no switch? Also, the example never seems to sleep? I guess I'll have to keep trying something else? In the meantime, anybody please post your own SIMPLE example like I am looking for. I am going to be working on making an easier to find solution to finding specific code example too..In the future. Thanks again : ) PS...I do see where Ben talks about it not working in flowcode simulator so that is where I will need a simple example with a switch to wake up. Thanks again everybody : )