Hello, I need to count the rising edge of two waveforms individually by setting flag and use Timer as my interrupt with 100KHZ frequency. Each time my counter needs to increment . when my flag become equal to zero i need to reset my counter.
can anyone help me how to code please . Actually this my first project.thank you