gatoulisss
New Member
hello everyone,
im using an pic16f268a microcontroller to build an security alert system witch is powered with 9v battery the problem is that after 3-4 days that my system is working the battery is going off...
after a little search ifind out about the sleep mode but because im new to this i dont know how to use it.
any help? how i can wake and sleep my processor? can i wake it up when a button is pressed or something like this happens?
thank you very much!
im using an pic16f268a microcontroller to build an security alert system witch is powered with 9v battery the problem is that after 3-4 days that my system is working the battery is going off...
after a little search ifind out about the sleep mode but because im new to this i dont know how to use it.
any help? how i can wake and sleep my processor? can i wake it up when a button is pressed or something like this happens?
thank you very much!