Introduction - If you have any usage issues, please Google them yourself
Signal generator design
The signal generator is controlled by waveform selection switch output waveform, respectively, can output sine wave, square wave and triangular wave three waveforms, the waveform period is 2 seconds (40M active crystal frequency control). Consider the capacity of the program, each waveform in a cycle are taken 16 sampling points, each sample data is 8 (value range: 00000000 ~ 11111111). It is required to output the 8-bit binary data (in decimal format) before the D/A conversion to the digital tube for dynamic demonstration.