I'm on cellphone, can't post details.
Search here for DT INTERRUPTS, use that to make a 1 second timer, then count how many times the input pin goes high.
Robert
EDIT: For better sampling, use 60 sec timer and divide by 60.
I'm on cellphone, can't post details.
Search here for DT INTERRUPTS, use that to make a 1 second timer, then count how many times the input pin goes high.
Robert
EDIT: For better sampling, use 60 sec timer and divide by 60.
Last edited by Demon; - 2nd May 2012 at 20:50.
Bookmarks