freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

基于單片機(jī)的led顯示屏系統(tǒng)畢業(yè)設(shè)計(jì)-資料下載頁

2025-06-27 19:57本頁面
  

【正文】 0,zimu1[4][k*2+1])。//上半屏右8位數(shù)據(jù) ColumnScan(zimu1[5][k*2+1],0x00,zimu1[5][k*2+1])。//下半屏右8位數(shù)據(jù) ColumnScan(zimu1[6][k*2],0x00,zimu1[6][k*2])。 //上半屏左8位數(shù)據(jù) ColumnScan(zimu1[7][k*2],0x00,zimu1[7][k*2])。 //下半屏左8位數(shù)據(jù) ColumnScan(zimu1[6][k*2+1],0x00,zimu1[6][k*2+1])。//上半屏右8位數(shù)據(jù) ColumnScan(zimu1[7][k*2+1],0x00,zimu1[7][k*2+1])。//下半屏右8位數(shù)據(jù)/* ColumnScan(Font16[2][k*2],0x00,Font16[2][k*2])。 //右16*16 ColumnScan(Font16[3][k*2],0x00,Font16[3][k*2])。 ColumnScan(Font16[2][k*2+1],0x00,Font16[2][k*2+1])。 ColumnScan(Font16[3][k*2+1],0x00,Font16[3][k*2+1])。*/ ColumEnable(Enable)。 RowScan(k)。 RowEnable(Enable)。 // Delay(2)。 RowEnable(Disable)。 // Delay(3)。 } }void StaticDisplay3(void) //顯示綠色的“自強(qiáng)不息”{ uchar k。 for(k=0。k8。k++) { ColumnScan(0x00,zimu[0][k*2],0x00)。 //上半屏左8位數(shù)據(jù) ColumnScan(0x00,zimu[1][k*2],0x00)。 //下半屏左8位數(shù)據(jù) ColumnScan(0x00,zimu[0][k*2+1],0x00)。//上半屏右8位數(shù)據(jù) ColumnScan(0x00,zimu[1][k*2+1],0x00)。//下半屏右8位數(shù)據(jù) ColumnScan(0x00,zimu[2][k*2],0x00)。 //上半屏左8位數(shù)據(jù) ColumnScan(0x00,zimu[3][k*2],0x00)。 //下半屏左8位數(shù)據(jù) ColumnScan(0x00,zimu[2][k*2+1],0x00)。//上半屏右8位數(shù)據(jù) ColumnScan(0x00,zimu[3][k*2+1],0x00)。//下半屏右8位數(shù)據(jù) ColumnScan(0x00,zimu[4][k*2],0x00)。 //上半屏左8位數(shù)據(jù) ColumnScan(0x00,zimu[5][k*2],0x00)。 //下半屏左8位數(shù)據(jù) ColumnScan(0x00,zimu[4][k*2+1],0x00)。//上半屏右8位數(shù)據(jù) ColumnScan(0x00,zimu[5][k*2+1],0x00)。//下半屏右8位數(shù)據(jù) ColumnScan(0x00,zimu[6][k*2],0x00)。 //上半屏左8位數(shù)據(jù) ColumnScan(0x00,zimu[7][k*2],0x00)。 //下半屏左8位數(shù)據(jù) ColumnScan(0x00,zimu[6][k*2+1],0x00)。//上半屏右8位數(shù)據(jù) ColumnScan(0x00,zimu[7][k*2+1],0x00)。//下半屏右8位數(shù)據(jù) ColumEnable(Enable)。 RowScan(k)。 RowEnable(Enable)。 // Delay(2)。 RowEnable(Disable)。 } }/*************************************************************//*函數(shù)功能:向上移動(dòng) *//*************************************************************/void shangyi(void){ uchar k。 uchar speed,move。 if(++speed10) { speed=0。 move++。 if(move=32) { move=0。 } } for(k=0。k8。k++) { //左16*16 ColumnScan(0x00,zimu2[0][k*2+move*2],zimu2[0][k*2+move*2])。 //上半屏左8位數(shù)據(jù) ColumnScan(0x00,zimu2[1][k*2+move*2],zimu2[1][k*2+move*2])。 //下半屏左8位數(shù)據(jù) ColumnScan(0x00,zimu2[0][k*2+1+move*2],zimu2[0][k*2+1+move*2])。//上半屏右8位數(shù)據(jù) ColumnScan(0x00,zimu2[1][k*2+1+move*2],zimu2[1][k*2+1+move*2])。//下半屏右8位數(shù)據(jù) */ //右16*16 ColumnScan(0x00,0x00,0x00)。 ColumnScan(0x00,0x00,0x00)。 ColumnScan(0x00,0x00,0x00)。 ColumnScan(0x00,0x00,0x00)。 ColumEnable(Enable)。 RowScan(k)。 //行掃描 RowEnable(Enable)。 Delay(1)。 RowEnable(Disable)。 } }/*************************************************************//*函數(shù)功能:138行掃描 *//*參數(shù)說明:num第幾行 范圍07 *//*************************************************************/void RowScan(uchar num){ switch(num) { case 0: A0=0。A1=0。A2=0。 break。 case 1: A0=1。A1=0。A2=0。 break。 case 2: A0=0。A1=1。A2=0。 break。 case 3: A0=1。A1=1。A2=0。 break。 case 4: A0=0。A1=0。A2=1。 break。 case 5: A0=1。A1=0。A2=1。 break。 case 6: A0=0。A1=1。A2=1。 break。 case 7: A0=1。A1=1。A2=1。 break。 default:break。 }}/*************************************************************//*函數(shù)功能:列掃描送數(shù)據(jù) *//*參數(shù)說明:R G B紅綠藍(lán)點(diǎn)陣數(shù)據(jù) 高位在前 *//*************************************************************/void ColumnScan(uchar R,uchar G,uchar B){ uchar i。 for(i=0。i8。i++) { CLK=0。 R_IN=Ramp。0x01。 //最低位 G_IN=Gamp。0x01。 B_IN=Bamp。0x01。 R=1。 G=1。 B=1。 CLK=1。 //上升沿移位數(shù)據(jù) }}/*************************************************************//*函數(shù)功能:行使能 *//*參數(shù)說明:EnOrDis Enable使能 Disable失能 *//*************************************************************/void RowEnable(uchar EnOrDis){ if(EnOrDis) { EN=1。 //138使能 } else { EN=0。 }}/*************************************************************//*函數(shù)功能:列使能 *//*參數(shù)說明:EnOrDis Enable使能 Disable失能 *//*************************************************************/void ColumEnable(uchar EnOrDis){ if(EnOrDis) { STB=1。 //將串行數(shù)據(jù)傳入輸出鎖存器 STB=0。 //將數(shù)據(jù)鎖存 } else { STB=0。 }}/*************************************************************//*函數(shù)功能:掃描測試函數(shù) *//*參數(shù)說明: *//*************************************************************/void Test(void){ uchar k,j。 RowEnable(Disable)。 //紅全行掃描 for(j=0。j8。j++) { ColumnScan(0xff,0x00,0x00)。 } ColumEnable(Enable)。 for(k=0。k8。k++) { RowScan(k)。 RowEnable(Enable)。 Delay(100)。 RowEnable(Disable)。 } ColumEnable(Disable)。 for(j=0。j8。j++) //綠全行掃描 { ColumnScan(0x00,0xff,0x00)。 } ColumEnable(Enable)。 for(k=0。k8。k++) { RowScan(k)。 RowEnable(Enable)。 Delay(100)。 RowEnable(Disable)。 } ColumEnable(Disable)。 for(j=0。j8。j++) //藍(lán)全行掃描 { ColumnScan(0x00,0x00,0xff)。 } ColumEnable(Enable)。 for(k=0。k8。k++) { RowScan(k)。 RowEnable(Enable)。 Delay(100)。 RowEnable(Disable)。 } ColumEnable(Disable)。 }/****************************************************************************** 功能描述:延時(shí)******************************************************************************/void Delay(uint time){ uint x,y。 for(x=time。x0。x) for(y=100。y0。y)。} 外文資料The Introduction of AT 89C51DescriptionThe AT89C51 is a lowpower, highperformance CMOS 8bit microputer with 4K bytes of Flash programmable and erasable read only memory (PEROM). The device is manufactured using Atmel’s highdensity nonvolatile memory technology and is patible with the industrystandard MCS51 instruc
點(diǎn)擊復(fù)制文檔內(nèi)容
環(huán)評(píng)公示相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1