389
Program explanation:
1. When X0 is ON, the precise timer interruption will work, Y2 will output the pusle
wave.
2. When X0 is OFF, shut down the precise timer interruption, Y2 stop outputting.
Example 3
As the FRQM calculating the time for fixed pulse numbers, we will change the way to
calculate the pulse numbers in fixed time.
Component explanation:
Start button, X0 is ON when pressed
Precise timer setting value (unit: ms)
The measured frequency (unit: s)
Program:
tudonghoatoancau.com