Frequency measurement | Cypress Semiconductor
Hi i'm a french student in high school with my classroom we work on a robot project using the psoc 5.
With my group we work on the shifting of the robot ,so we need to determinate its speed.We use as sensor a optical shaft encoder of a vex kit (the output waves form is square).
Our frequency range to measure is 0hz -400hz ,we use for test the pwm output
We use a counter and and a isr as the topic frequency using a counter.The main problem is we don't know how update the flag variable with the isr.
i will post in several days our program .
I hope you can help us best regards from France.