Description: * name: music with a buzzer alarm of AD sampling program
* function: implementation USES PIC18F452 bring AD sampling, and through digital tube display, when the sample reaches 5 v voltage alarm, buzzer playing a song
* note 1: the experiment does not have hardware, only through the Proteus simulation, if the hardware, may need to modify the IO port of macro definition, and each part of the initialization function, adjust the timing and time delay function
* note 2: the buzzer music principle: every piece has a tone and beat, tone to tone, for yinfu one of [] Beat for the interval of time between tone and pitch
To Search:
File list (Check if you may need any files):
main.c