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

正文內(nèi)容

1621532點(diǎn)陣數(shù)字鐘及漢字顯示-文庫(kù)吧資料

2025-04-22 08:22本頁(yè)面
  

【正文】 。 //設(shè)置為輸入。 CLOCK_SCLK=0。 CLOCK_DATA=CY。loop0。 CLOCK_RST=1。 //設(shè)置為輸 CLOCK_RST=0。 inputdata(0x8F,0x00)。}//===================================================================================////單字節(jié)讀子程序 RC0(SCLK),RC1(I/O),RC2(RST)//名稱:outputdata//說明:讀數(shù)據(jù)//功能: 從DS1302讀取1Byte數(shù)據(jù)//===================================================================================//unsigned char outputdata(unsigned char tmaddr){ uchar loop。 CLOCK_DATA=1。 } CLOCK_SCLK=1。 //輸出移位標(biāo)志 CLOCK_SCLK=1。loop++) //送數(shù)據(jù) { tmdata=tmdata1。 } for(loop=0。 //輸出移位標(biāo)志位 CLOCK_SCLK=1。loop++) //送地址 { tmaddr=tmaddr1。 for(loop=0。 CLOCK_SCLK=0。 //設(shè)置為輸出。 //顯示完一行清顯示 } }//===================================================================================////單字節(jié)寫子程序 RC0(SCLK),RC1(I/O),RC2(RST)//名稱:inputdata//說明:先寫地址,后寫數(shù)據(jù)//功能: 往DS1302寫入時(shí)鐘數(shù)據(jù)//===================================================================================// void inputdata(unsigned char tmaddr,unsigned char tmdata){ uchar loop。 //逐行顯示,掃描 delay()。LATCH=1。 //通過取表顯示秒 } shift()。 //通過取表顯示日 temp[2]=bmp_3[BUFFER[6]][i8]。 //取表顯示分鐘個(gè)位 } else { temp[0]=bmp_4[BUFFER[4]][i8]。 //標(biāo)志位為0時(shí),兩點(diǎn)亮 } else { temp[2]=bmp[BUFFER[1]][i]。 //取表顯示時(shí)鐘十位 temp[1]=bmp[BUFFER[2]][i]。i16。 //顯示日個(gè)位 BUFFER[7]=CLOCK_TIME[0]。 //顯示月,從00-12 BUFFER[5]=YEAR[2]/10。 //顯示時(shí)鐘小時(shí)個(gè)位 BUFFER[3]=CLOCK_TIME[2]/10。 //顯示時(shí)鐘分鐘個(gè)位 BUFFER[1]=CLOCK_TIME[1]/10。 sec=CLOCK_TIME[0]。 }}//===================================================================================////名稱:display//說明:顯示函數(shù)//功能:將要顯示的數(shù)據(jù)通過74HC595和74LS154用LED點(diǎn)陣顯示出來//實(shí)現(xiàn)方法:該16X32點(diǎn)陣為8塊小點(diǎn)陣,顯示時(shí)將上下分開,上面顯示時(shí)間。 //進(jìn)位輸出到移位寄存器 CLOCK=1。 //進(jìn)位輸出到移位寄存器 temp[3]=temp[3]1。 //進(jìn)位輸出到移位寄存器 temp[2]=temp[2]1。 //進(jìn)位輸出到移位寄存器 temp[1]=temp[1]1。j++) { temp[0]=temp[0]1。 for(j=0。n++)。 while(m) { for(n=0。n++)。 for(n=0。//===================================================================================////定義059模擬七段數(shù)碼管顯示 8*8//===================================================================================//uchar code bmp_4[60][8]={{0xff,0xff,0x88,0xaa,0xaa,0xaa,0x88,0xff}, //00{0xff,0xff,0x8e,0xae,0xae,0xae,0x8e,0xff}, //01{0xff,0xff,0x88,0xae,0xa8,0xab,0x88,0xff}, //02{0xff,0xff,0x88,0xae,0xa8,0xae,0x88,0xff}, //03{0xff,0xff,0x8a,0xaa,0xa8,0xae,0x8e,0xff}, //04{0xff,0xff,0x88,0xab,0xa8,0xae,0x88,0xff}, //05{0xff,0xff,0x88,0xab,0xa8,0xaa,0x88,0xff}, //06{0xff,0xff,0x88,0xae,0xae,0xae,0x8e,0xff}, //07{0xff,0xff,0x88,0xaa,0xa8,0xaa,0x88,0xff}, //08{0xff,0xff,0x88,0xaa,0xa8,0xae,0x88,0xff}, //09{0xff,0xff,0xe8,0xea,0xea,0xea,0xe8,0xff}, //10{0xff,0xff,0xee,0xee,0xee,0xee,0xee,0xff}, //11{0xff,0xff,0xe8,0xee,0xe8,0xeb,0xe8,0xff}, //12{0xff,0xff,0xe8,0xee,0xe8,0xee,0xe8,0xff}, //13{0xff,0xff,0xea,0xea,0xe8,0xee,0xee,0xff}, //14{0xff,0xff,0xe8,0xeb,0xe8,0xee,0xe8,0xff}, //15{0xff,0xff,0xe8,0xeb,0xe8,0xea,0xe8,0xff}, //16{0xff,0xff,0xe8,0xee,0xee,0xee,0xee,0xff}, //17{0xff,0xff,0xe8,0xea,0xe8,0xea,0xe8,0xff}, //18{0xff,0xff,0xe8,0xea,0xe8,0xee,0xe8,0xff}, //19{0xff,0xff,0x88,0xea,0x8a,0xba,0x88,0xff}, //20{0xff,0xff,0x8e,0xee,0x8e,0xbe,0x8e,0xff}, //21{0xff,0xff,0x88,0xee,0x88,0xbb,0x88,0xff}, //22{0xff,0xff,0x88,0xee,0x88,0xbe,0x88,0xff}, //23{0xff,0xff,0x8a,0xea,0x88,0xbe,0x8e,0xff}, //24{0xff,0xff,0x88,0xeb,0x88,0xbe,0x88,0xff}, //25{0xff,0xff,0x88,0xeb,0x88,0xba,0x88,0xff}, //26{0xff,0xff,0x88,0xee,0x8e,0xbe,0x8e,0xff}, //27{0xff,0xff,0x88,0xea,0x88,0xba,0x88,0xff}, //28{0xff,0xff,0x88,0xea,0x88,0xbe,0x88,0xff}, //29{0xff,0xff,0x88,0xea,0x8a,0xea,0x88,0xff}, //30{0xff,0xff,0x8e,0xee,0x8e,0xee,0x8e,0xff}, //31{0xff,0xff,0x88,0xee,0x88,0xeb,0x88,0xff}, //32{0xff,0xff,0x88,0xee,0x88,0xee,0x88,0xff}, //33{0xff,0xff,0x8a,0xea,0x88,0xee,0x8e,0xff}, //34{0xff,0xff,0x88,0xeb,0x88,0xee,0x88,0xff}, //35{0xff,0xff,0x88,0xeb,0x88,0xea,0x88,0xff}, //36{0xff,0xff,0x88,0xee,0x8e,0xee,0x8e,0xff}, //37{0xff,0xff,0x88,0xea,0x88,0xea,0x88,0xff}, //38{0xff,0xff,0x88,0xea,0x88,0xee,0x88,0xff}, //39{0xff,0xff,0xa8,0xaa,0x8a,0xea,0xe8,0xff}, //40{0xff,0xff,0xae,0xae,0x8e,0xee,0xee,0xff}, //41{0xff,0xff,0xa8,0xae,0x88,0xeb,0xe8,0xff}, //42{0xff,0xff,0xa8,0xae,0x88,0xee,0xe8,0xff}, //43{0xff,0xff,0xaa,0xaa,0x88,0xee,0xee,0xff}, //44{0xff,0xff,0xa8,0xab,0x88,0xee,0xe8,0xff}, //45{0xff,0xff,0xa8,0xab,0x88,0xea,0xe8,0xff}, //46{0xff,0xff,0xa8,0xae,0x8e,0xee,0xee,0xff}, //47{0xff,0xff,0xa8,0xaa,0x88,0xea,0xe8,0xff}, //48{0xff,0xff,0xa8,0xaa,0x88,0xee,0xe8,0xff}, //49{0xff,0xff,0x88,0xba,0x8a,0x
點(diǎn)擊復(fù)制文檔內(nèi)容
公司管理相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1