FOC-MUSIC 源代码
汇集 FOC-MUSIC 相关的电路原理图、PCB工程文件、单片机/FPGA源代码、数据手册与应用设计方案。
/***************************************** * 用M16单片机I/O口生成模拟音乐 * * 功 能:用I/O口生成模拟音乐 * * 时钟频率:内部1M * * 设 …
/* 音阶常数=65536-8000000/8/2/f */ #define DO 64580 //523 #define RE 64684 //587 #define MI 64777 //659 #define FA 64820 //698…
/*******************************************/ /* 广州天河双龙电子公司 */ /* http://www.sl.com.cn */ …
set p_VhdlLibrary {} set VHDLSources {music.vhd }
set p_VhdlLibrary {} set VHDLSources {music.vhd }
#include "reg51.h" #include "intrins.h" #include "ABSACC.h" #define DELAY5US _nop_(); #define WR_DATA XBYTE[0x2001] #define…