Introduction - If you have any usage issues, please Google them yourself
To make use of simple single-chip counter frequency meter, because P1 ^ 0 input waveforms used to simulate the outside world, it provides a period of 100ms square wave. After the pin is connected to T1, T1 can be cycle counted. TL1 variables in the program determines the frequency factor is multiplied by 2 is the frequency factor. Change its value can be divided by the corresponding output waveform (square wave). P1 ^ 1 for the output pin, connect the oscilloscope to see the waveform divided.