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

正文內(nèi)容

基于單片機(jī)的筆筒萬年歷-免費(fèi)閱讀

  

【正文】 s Day )。 } else if ( yue == 5 amp。amp。amp。amp。amp。amp。 ri == 24 ){ print(0x80,World Tubercul)。 ri == 22 ){ print(0x80, Today is: )。 ri == 17 ){ print(0x80, International )。 ri == 14 ){ print(0x80, Today is: )。print(0x40, Women39。 }//2 月 else if ( yue == 2 amp。 } else if (month_moon== 0x01 amp。amp。 temp1=_crol_(temp1,4)。 else temp1=0x1e。 if(flag2==0)temp1=0x1d。 month=0xc。 if(flag2==0)temp1=0x1d。0xf0。 } //計(jì)算公歷日離當(dāng)年元旦的天數(shù)完成 //判斷公歷日在春節(jié)前還是春節(jié)后 if (temp4=temp3){ //公歷日在春節(jié)后或就是春節(jié)當(dāng)日使用下面代碼進(jìn)行運(yùn)算 temp4=temp3。0x1f。 temp2=day%16。 bit flag2,flag_y。 if (temp==0)return(0)。 if (temp==0)return(0)。 if (temp==0)return(0)。 if (temp==0)return(0)。 if (temp==0)return(0)。 if (temp==0)return(0)。 code uint day_code2[3]={0x111,0x130,0x14e}。//設(shè)置定時(shí)器 1 的初值 TL1=(6553650000)%256。//允許寫入 write_1302(0x8c,temp)。//寫入月 write_1302(0x8e,0x80)。//打開保護(hù) write(h1+9)。//返回原來位置 break。 if(week==0) week=7。 writetime(0,shi)。//在十位數(shù)位置寫入 temp=(fen)/10*16+(fen)%10。//轉(zhuǎn)換為 bcd 碼 write_1302(0x8e,0x00)。//消抖 if(key3==0) { beep=0。 writeday(2,nian)。//在十位開始寫入 temp=(yue)/10*16+(yue)%10。//轉(zhuǎn)換為 bcd 碼 write_1302(0x8e,0x00)。//允許寫入 write_1302(0x8a,temp)。//打開保護(hù) write(h2+1)。//返回個(gè)位數(shù)的位置 break。 case 2:fen++。// if(miao==60) miao=0。//寫入秒 write_1302(0x8e,0x80)。 case 7:write(h1+0x3)。//不用再次設(shè)置為閃爍狀態(tài)了 case 3:write(h2+1)。//秒的位置 write(0x0f)。//蜂鳴器短響一聲 delay(20)。)。)。)。 writedata(0x30+gw)。//取得十位數(shù) write(h2+add)。//個(gè)位數(shù) writedata(0x2e)。//放大 10 倍并四舍五入 return(t)。 //跳過讀取序列號(hào) WriteOneChar(0xBE)。//用于合并 uchar b1=0。i0。i) { DQ=0。//延時(shí)大于 480us(此處延時(shí)時(shí)間不確定,實(shí)際時(shí)修改) DQ=1。//月: 3 write_1302(0x8c,0x11)。 SCLK=0。 SCLK=1。 SCLK=1。 SCLK=0。 SCLK=0。//第二行顯示制作人 delay(3000)。//延時(shí)一下 writedata(*str++)。\039。 } void writedata(uchar dat)//寫入數(shù)據(jù)函數(shù) { testbusy()。 while(lcdbusy)。x0。//設(shè)置累加器 sbit ACC7=ACC^7。 sbit rw=P3^3。 農(nóng)歷顯示(其他: Have a good day?。? 晚安:中午 早上 提示 */ include include define uint unsigned int define uchar unsigned char uchar a,miao,shi,fen,ri,yue,nian,week,keynum,temp,flagtime,ledcount,count,alarmflag,flagT/* 時(shí)間分段標(biāo)志 */,year1,month1,day1,lednum。//定義綠色 led 燈的管腳 sbit Yled=P0^1。 sbit RST=P2^2。//蜂鳴器,用于報(bào)時(shí) sbit lcdbusy=P1^7。//注意是 P3 組 rs=0。 rw=0。 en=0。 while(*str!=39。//光標(biāo)右移 write(0x01)。 for(a=8。a0。 RST=1。 RST=1。 return(shijin=shijin*10+(bcdamp。//時(shí): 12 write_1302(0x8a,0x04)。 delay2(8)。 uchar dat=0。 } return(dat)。 DQ=1。 //跳過讀取序列號(hào)的操作 WriteOneChar(0x44)。 t=t|a1。 write(h2+add)。//顯示 “C”符號(hào),為液晶字符的地址碼(考慮是否要) } //時(shí)分秒顯示函數(shù) void writetime(uchar add,uchar dat)//寫入時(shí)分秒 { uchar gw,sw。//取得個(gè) 位數(shù)字 sw=dat/10。//括號(hào)內(nèi)寫入 1 注意是單引號(hào) break。 break。 break。 break。 if(keynum==9) keynum=1。 break。//日的位置 break。//重新打開定時(shí)器 temp=(miao)/10*16+(miao)%10。 beep=1。// 寫入秒 write_1302(0x8e,0x80)。//允許寫 write_1302(0x82,temp)。//轉(zhuǎn)換為 bcd 碼 write_1302(0x8e,0x00)。//顯示位置 writeweek(week)。 if(ri==32) ri=1。 case 6:yue++。//返回個(gè)位位置 break。//打開保護(hù) write(h1+3)。/*此處有疑問:無符號(hào)數(shù)據(jù)是否要修改 */ if(miao==1) miao=59。 case 2:fen。//返回個(gè)位數(shù)位置 break。//打開保護(hù) write(h2+1)。//允許寫入 write_1302(0x8a,temp)。//轉(zhuǎn)換為 bcd 碼 write_1302(0x8e,0x00)。//在十位數(shù)位置開始寫入 temp=(yue)/10*16+(yue)%10。 writeday(2,nian)。//設(shè)置為定時(shí)器 0 和 1 的工作方式 1 TH0=(6553660000)/256。/*允許 T1 中斷(未打開) */ TR1=1。else return(1)。else return(1)。else return(1)。else return(1)。else return(1)。else return(1)。else return(1)。 temp2=month%16。0x60。 } if ((month0x2)amp。 if(flag2==0)temp1=0x1d。 if(flag_y==0)month+=1。c=1。 else month_p=0xd。 if(month==temp2)flag_y=~flag_y。 temp2=year%10。 temp2=day%10。amp。amp。 } else if ( yue == 3 amp。print(0x40,China Arbor Day )。print(0x40, Right Day )。print(0x40,World Forest Day)。print(0x40, gical Day )。print(0x40,April Fools39。 ri == 7 ){ print(0x80, Today is: )。 day_moon == 0x05 ){print(0x80,the DragonBoat )。 ri == 4 ){ print(0x80, Chinese Youth )。 ri == 12 ){ print(0x80, International )。amp。amp。 ri == 5 ){ print(0x80, International )。print(0x40, Day )。print(0x40, is ing! )。 } else if ( yue == 5 amp。 }//5 else if ( yue == 5 amp。 } else if (month_moon== 0x05 amp。 } else if ( yue == 4 amp。amp。amp。amp。amp。amp。print(0x40,Valentine39。print(0x40,Lantern Festival)。print(0x40,Happy New Year!!)。 temp1=day/10。 //HEXBCD ,運(yùn)算結(jié)束后 ,把數(shù)據(jù)轉(zhuǎn)換為 BCD 數(shù)據(jù) temp1=year/10。 month_p=1。 temp2=_cror_(temp2,4)。 } else{ //公歷日在春節(jié)前使用下面代碼進(jìn)行運(yùn)算 temp3=temp4。 month_p+=1。 //month_p為月 份指向 ,公歷日在春節(jié)前或就是春節(jié)當(dāng)日 month_p 指向首月 flag2=get_moon_day(month_p,table_addr)。 } if (month10){ temp4=day_code1[month1]+day1。 } else { table_addr=(year1)*0x3。 year=temp1*10+temp2。0x80。0x02。0x08。0x20。0x80。0x02。0x08。//允許 T0 中斷 TR0=1。//返回在年的尾數(shù)位置 break。 case 7:nian。 if(yue==0) yue=12。 writeday(8,ri)。//寫入星期 temp=(week)/10*16+(week)%10。//允許寫入 write_1302(0x84,temp)。//寫入分 write_1302(0x8e,0x80)。//打開保護(hù) write(h2+0x07)。 while(!key3)。//允許寫 write_1302(0x8c,temp)。//寫入月 write_1302(0x8e,0x80)。//打開保護(hù) write(h1+9)。/*此處有疑惑:返回原來位置? */
點(diǎn)擊復(fù)制文檔內(nèi)容
環(huán)評(píng)公示相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1