用89C51单片机设计开发简易电子琴,能7个音,并存一首歌就好,要简单点的...答://本程序的单片机晶振采用11.0592M include <reg51.h> sbit speaker=P1^2;unsigned char timer0h,timer0l,time;//世上只有妈妈好数据表 code unsigned char sszymmh[]={ 6,2,3, 5,2,1, 3,2,2, 5,2,2, 1,3,2, 6,2,1, 5,2,1,6,2,4, 3,2,2, 5,2,...
基于51单片机制作的激光竖琴电路图和气程序答:include <reg51.h> define uchar unsigned char define uint unsigned int ///数码管 共阳 uchar code DSY_Table[]={ 0xc0,0xf9,0xa4,0xb0,0x99,0x92,0x82,0xf8,0x80,0x90,0x88,0x83,0xc6,0xa1,0x86,0x8e,0xbf};///音符对应的延时 uint code Tone_Delay_Table[]={ 64021,...