Description: This routine for simple frequency divider. Before experiment, please use platoon line (dupont line) will TX- 1 c ^ 0 learning plate P1 of the pin and P3 ^ 2 (INT0) pin connected. Because P1 ^ 0 used to simulate the outside world wave input, it provides cycle for 100 ms square wave, and T1 pin connected, T1 can carry on the cycle count. The procedure in the variable pp determines the scale coefficient, the value multiplied by 2 is the crossover factor. To change its value can get corresponding crossover output waveform (square). P1 ^ 1 as output pin, its connection oscillograph can see points after the frequency of the wave.
To Search:
File list (Check if you may need any files):
【实验78】分频器1(计数器实现)
...............................\fenpin
...............................\fenpin.c
...............................\fenpin.hex
...............................\fenpin.lnp
...............................\fenpin.LST
...............................\fenpin.M51
...............................\fenpin.OBJ
...............................\fenpin.Opt
...............................\fenpin.plg
...............................\fenpin.Uv2
...............................\fenpin_Opt.Bak
...............................\fenpin_Uv2.Bak
【实验79】分频器2(外部中断实现)
.................................\fenpinqi2
.................................\fenpinqi2.c
.................................\fenpinqi2.hex
.................................\fenpinqi2.lnp
.................................\fenpinqi2.LST
.................................\fenpinqi2.M51
.................................\fenpinqi2.OBJ
.................................\fenpinqi2.Opt
.................................\fenpinqi2.plg
.................................\fenpinqi2.Uv2
.................................\fenpinqi2_Opt.Bak
.................................\fenpinqi2_Uv2.Bak