Description: 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.
To Search:
File list (Check if you may need any files):
fenpin.c