Hey,
I am working on a project that involves an ATTINY45 microcontroller.
I want it to be in SLEEP MODE most of the time and every 2-3 minutes check specific GPIO pin (HIGH or LOW). If it is HIGH add 1 to a counter otherwise Reset a counter.
- Is it possible functionality? Or maybe there is a better way of using interrupts?
- For how long should a CR2032 BATTERY LIFE SPAN hold with that REGIME?
Glad if you could assist and let me think what problems may also occur.
Thank you very much
I am working on a project that involves an ATTINY45 microcontroller.
I want it to be in SLEEP MODE most of the time and every 2-3 minutes check specific GPIO pin (HIGH or LOW). If it is HIGH add 1 to a counter otherwise Reset a counter.
- Is it possible functionality? Or maybe there is a better way of using interrupts?
- For how long should a CR2032 BATTERY LIFE SPAN hold with that REGIME?
Glad if you could assist and let me think what problems may also occur.
Thank you very much
Last edited by a moderator: