LCD1602液晶显示DS1302实时时钟Proteus仿真

整理文档很辛苦,赏杯茶钱您下走!

免费阅读已结束,点击下载阅读编辑剩下 ...

阅读已结束,您可以下载文档离线阅读编辑

资源描述

responsibleforthedevelopmentofcompanymanagement,includingthedevelopmentofsettlementandsettlementstandardsofpreparation,thebusinessunitclearingworkinspectionandguidance,businesssettlementaudit;23,isinchargeofthecompanybusinessandcostscalculationandanalysisofnewprojectsandtodevelopstandardsandprovidethebasisfordecision-makingandresponsibleforthecomprehensiveeconomicandtechnicalindicatorsandstatistics,analysis,summaryandreporting;24,thecompanyresponsibleforauditsofvarioustypesofbusinesscontracts,theprincipalofcontractprice(purchaseprice,freight,taxes,etc),paymentmethod,payment,settlement,suchasthereasonablenessofthedata,authenticity,accuracy;25,strictenforcementofnationaltaxpolicy,isresponsibleforthemonthlyreporting,includingtaxcalculations,statistics,gothroughtherelevantformalities,receiveinvoices;26,thecompanyresponsibleforallkindsofprice(includingproductprice,materialprices,Freight,engineeringmachineryjobsprice,price,price)'stermsofmarketsurveys,quotations,priceexceptionreport;27,isresponsibleforthecompany'smanagement,includingconferenceorganizedbyprice,ofhistoricalprices,totals,etc;28,accordingtotheannualoperatingplan,annualcostsandundergodecomposition,control,analysisandevaluation;responsibleforcostingandcostcontrol,ensureaccountingnumberisreasonable,correct,andcompleteaccountingreportandthecompany'sotherreportscompiledandreportedtowork;不忘初心,就是始终坚持为人民服务的爱心。党的根基在人民、党的力量在人民,为此,就需要坚持一切为了人民、一切依靠人民。这让我想到了被赞为“农民的代言人”、“最敢为农民说话的代表”毛丰美同志、被誉为“太行新愚公”的李保国同志Proteus仿真图:仿真程序:#includereg52.h#includeintrins.h#includestring.h#defineuintunsignedint#defineucharunsignedchar//*******LCD*******sbitLCDRS=P2^0;//LCD数据/命令选择端sbitLCDRW=P2^1;sbitLCDEN=P2^2;//LCD使能新号端//******DS1302******sbitIO=P1^0;//1302数据线responsibleforthedevelopmentofcompanymanagement,includingthedevelopmentofsettlementandsettlementstandardsofpreparation,thebusinessunitclearingworkinspectionandguidance,businesssettlementaudit;23,isinchargeofthecompanybusinessandcostscalculationandanalysisofnewprojectsandtodevelopstandardsandprovidethebasisfordecision-makingandresponsibleforthecomprehensiveeconomicandtechnicalindicatorsandstatistics,analysis,summaryandreporting;24,thecompanyresponsibleforauditsofvarioustypesofbusinesscontracts,theprincipalofcontractprice(purchaseprice,freight,taxes,etc),paymentmethod,payment,settlement,suchasthereasonablenessofthedata,authenticity,accuracy;25,strictenforcementofnationaltaxpolicy,isresponsibleforthemonthlyreporting,includingtaxcalculations,statistics,gothroughtherelevantformalities,receiveinvoices;26,thecompanyresponsibleforallkindsofprice(includingproductprice,materialprices,Freight,engineeringmachineryjobsprice,price,price)'stermsofmarketsurveys,quotations,priceexceptionreport;27,isresponsibleforthecompany'smanagement,includingconferenceorganizedbyprice,ofhistoricalprices,totals,etc;28,accordingtotheannualoperatingplan,annualcostsandundergodecomposition,control,analysisandevaluation;responsibleforcostingandcostcontrol,ensureaccountingnumberisreasonable,correct,andcompleteaccountingreportandthecompany'sotherreportscompiledandreportedtowork;不忘初心,就是始终坚持为人民服务的爱心。党的根基在人民、党的力量在人民,为此,就需要坚持一切为了人民、一切依靠人民。这让我想到了被赞为“农民的代言人”、“最敢为农民说话的代表”毛丰美同志、被誉为“太行新愚公”的李保国同志sbitSCLK=P1^1;//1302时钟线sbitRST=P1^2;//复位uintnum=0;//uchar*week[]={SUN,***,MON,TUS,WEN,THU,FRI,SAT};ucharDate[]={Date:2000-00-00};ucharTime[]={Time:*00:00-00*};uchardate_time[7];//从ds1302读取的当前日期时间//=======延时=======voiddelay(uintz){uintx,y;for(x=z;x0;x--)for(y=110;y0;y--);}//********向1302写数据*********voidwrite_ds1302(uchardat){uchari;for(i=0;i8;i++){IO=dat&0x01;//保持最后一位为1,读状态SCLK=1;delay(1);SCLK=0;dat=1;}}//*********从1302读数据*********ucharread_ds1302(){uchari,b=0x00;for(i=0;i8;i++){b|=_crol_((uchar)IO,i);responsibleforthedevelopmentofcompanymanagement,includingthedevelopmentofsettlementandsettlementstandardsofpreparation,thebusinessunitclearingworkinspectionandguidance,businesssettlementaudit;23,isinchargeofthecompanybusinessandcostscalculationandanalysisofnewprojectsandtodevelopstandardsandprovidethebasisfordecision-makingandresponsibleforthecomprehensiveeconomicandtechnicalindicatorsandstatistics,analysis,summaryandreporting;24,thecompanyresponsibleforauditsofvarioustypesofbusinesscontracts,theprincipalofcontractprice(purchaseprice,freight,taxes,etc),paymentmethod,payment,settlement,suchasthereasonablenessofthedata,authenticity,accuracy;25,strictenforcementofnationaltaxpolicy,isresponsibleforthemonthlyreporting,includingtaxcalculations,statistics,gothroughtherelevantformalities,receiveinvoices;26,thecompanyresponsibleforallkindsofprice(includingproductprice,materialprices,Freight,engineeringmachineryjobsprice,price,price)'stermsofmarketsurveys,quotations,priceexceptionreport;27,isresponsibleforthecompany'smanagement,includingconferenceorganizedbyprice,ofhistoricalprices,totals,etc;28,accordingtotheannualoperatingplan,annualcostsandundergodecomposition,control,analysisandevaluation;responsibleforcostingandcostcontrol,ensureaccountingnumberisreasonable,correct,andcompleteaccounting

1 / 5
下载文档,编辑使用

©2015-2020 m.777doc.com 三七文档.

备案号:鲁ICP备2024069028号-1 客服联系 QQ:2149211541

×
保存成功