请问在单片机的程序中,怎样把音乐和数字钟加在一起?其中音乐是用的蜂鸣...答:0xF2, 0xF3, 0xF5, 0xF5, 0xF6, 0xF7, 0xF8, //低音1234567 0xF9, 0xF9, 0xFA, 0xFA, 0xFB, 0xFB, 0xFC, 0xFC,//1,2,3,4,5,6,7,i 0xFC, 0xFD, 0xFD, 0xFD, 0xFD, 0xFE, //高音 234567 0xFE, 0xFE, 0xFE, 0xFE, 0xFE, 0xFE, 0xFF}...
我用74LS595做行驱动,74LS154做列驱动做了一个16×32的双色点阵,急需C...答:unsigned code sw[16]={0x7f,0x6f,0x5f,0x4f,0x3f,0x2f,0x1f,0x0f,0xf7, 0xf6,0xf5,0xf4,0xf3,0xf2,0xf1,0xf0}; /*16行段码*/ /***/ void main(void) { uchar i; zimuo1=sizeof(hanzi)-6*32;//(zishu+9)*32; yid=0; zimuo=0; while(1) { while(yid<100) //...