哪位高手帮我编写一个单片机音乐程序代码《东方红》 只要后面的DB表格形...答:include <REG51.H> define uchar unsigned char sbit beepIO=P1^0;uchar m,n;uchar code T[49][2]={{0,0},{0xF8,0x8B},{0xF8,0xF2},{0xF9,0x5B},{0xF9,0xB7},{0xFA,0x14},{0xFA,0x66},{0xFA,0xB9},{0xFB,0x03},{0xFB,0x4A},{0xFB,0x8F},{0xFB,0xCF},{0xFC,...
求: 用51单片机c语言操作使蜂鸣器奏出“祝你生日快乐”音乐的全部程序...答:include <reg51.h> sbit speaker=P1^2;unsigned char timer0h,timer0l,time;//生日歌 code unsigned char sszymmh[]={5,1,1, 5,1,1, 6,1,2, 5,1,2, 1,2,2, 7,1,4,5,1,1, 5,1,1, 6,1,2, 5,1,2, 2,2,2, 1,2,4,5,1,1, 5,1,1, 5,2,2, 3,2,2,...