I am looking for someone who could write some code for me,
what i need is the following:
upon a switch being turned on a timer will start counting, it will count until it gets to 3 hours and then send a short pulse (2 seconds or so) it will then start counting again for another 3 hours and send a pulse again. this will happen indefinatly while switched on.
Now when the switch is turned off i need it to stop counting but remember where it stopped, so that when the switch is put back on again it carries on from where it left off.
just for visual effect, i also would like it to have a small led that flashes once every 20 seconds or so just to tell me the pic is working.
the pic i want to use is a pic16LF1827, i have read that it is pretty much the same as the pic16f628 only the reason i want this chip is because of its extreme low power consumption. (critical in my application)
im not sure how these chips work but if the switch is off for more than 1 min i want the chip to goto sleep, it will then awake and continue its counting when the switch is put back on.
i hope this makes sense, i can explain in a bit more detail should someone want to do this.
i dont have a lot of money spare but i will pay someone for there time/effort on this
cheers