kindly help my design.
i am using stm8s003f3p micro-controller. timer 1 input capture unit doesn't work as i intended. i searched web forums and blogs i couldn't find solution for counting pulses between 5hz-100hz. i used standard peripheral library to change according to my need.i modifed tim1 input capture example to count pulse and send period values over UART1.
i here by attach my code as well.please help me to find solution.