Counting pulses over a certain time period
Posted on November 30, 2015 at 17:00Hi, I am using STM32F1 and want to count the number of times a digital input is high, over a period of 5 seconds. Can anyone please help me with this query? Thanks in advance.