12864液晶時鐘顯示程序 LCD 地址變量 ;**************變量的定義***************** RS BIT P2.0 ;LCD數據/命令選擇端(H/L) RW BIT P2.1 ;LCD讀/寫選擇端(H/L) EP BIT P2.2 ;LCD使能控制 PSB EQU P2.3 RST EQU P2.5 PRE BIT P1.4 ;調整鍵(K1) ADJ BIT P1.5 ;調整鍵(K2) COMDAT EQU P0 LED EQU P0.3 YEAR DATA 18H ;年,月,日變量 MONTH DATA 19H DATE DATA 1AH WEEK DATA 1BH HOUR DATA 1CH ;時,分,秒,百分之一秒變量 MIN DATA 1DH SEC DATA 1EH SEC100 DATA 1FH STATE DATA 23H LEAP BIT STATE.1 ;是否閏年標志1--閏年,0--平年 KEY_S DATA 24H ;當前掃描鍵值 KEY_V DATA 25H ;上次掃描鍵值 DIS_BUF_U0 DATA 26H ;LCD第一排顯示緩沖區 DIS_BUF_U1 DATA 27H DIS_BUF_U2 DATA 28H DIS_BUF_U3 DATA 29H DIS_BUF_U4 DATA 2AH DIS_BUF_U5 DATA 2BH DIS_BUF_U6 DATA 2CH DIS_BUF_U7 DATA 2DH DIS_BUF_U8 DATA 2EH DIS_BUF_U9 DATA 2FH DIS_BUF_U10 DATA 30H DIS_BUF_U11 DATA 31H DIS_BUF_U12 DATA 32H DIS_BUF_U13 DATA 33H DIS_BUF_U14 DATA 34H DIS_BUF_U15 DATA 35H DIS_BUF_L0 DATA 36H ;LCD第三排顯示緩沖區 DIS_BUF_L1 DATA 37H DIS_BUF_L2 DATA 38H DIS_BUF_L3 DATA 39H DIS_BUF_L4 DATA 3AH DIS_BUF_L5 DATA 3BH DIS_BUF_L6 DATA 3CH DIS_BUF_L7 DATA 3DH DIS_BUF_L8 DATA 3EH DIS_BUF_L9 DATA 3FH DIS_BUF_L10 DATA 40H DIS_BUF_L11 DATA 41H DIS_BUF_L12 DATA 42H DIS_BUF_L13 DATA 43H DIS_BUF_L14 DATA 44H DIS_BUF_L15 DATA 45H FLAG DATA 46H ;1-年,2-月,3-日,4-時,5-分,6-秒,7-退出調整。 DIS_H DATA 47H DIS_M DATA 48H DIS_S DATA 49H
上傳時間: 2013-12-25
上傳用戶:wvbxj
dances Act now and you ll be given a free membership to a top Internet firm who is changing people s lives for the better.Mary L. White of LA. stays at home with her children and works just 3 1/2 hours a day... she now earns twice as much money as she did before. Frank Herns Jr. of NY takes 2 vacations a year to the Caribbean and enjoys more time and freedom than ever before. Jane Kennedy of FL fired her boss after 5 months. She finally has the time and money she needs to complete her college education. Craig Garcia of CA tripled his income in just 90 days because took advantage of his free membership.
標簽: membership Internet changing dances
上傳時間: 2015-03-08
上傳用戶:xhz1993
計稅程序。可以計算每周收入、最近收入、從年初到目前的所得稅、扣除的聯邦收入稅以及帳目檢查等。 This program computes weekly payroll, current earnings, year to date earnings FICA tax, federal Income Tax Withheld, and check Amount.
標簽: computes program payroll current
上傳時間: 2015-04-11
上傳用戶:mhp0114
c8051f020 實時時鐘模塊程序 內含IIC模塊程序/********************** SYSTEM CLOCK 8M********************************/ extern unsigned char xdata currenttime[16]={0} extern unsigned char xdata settime[16]={ 0x00, // control regesiter 1 0x00, // control regesiter 2 0x01, //current second 0x19, //current minute 0x20, //current hour 0x29, //current data 0x04, //current week 0x07, //current month 0x05, //current year 0x00, // alarm value reset 0x00, // alarm value reset 0x00, // alarm value reset 0x00, // alarm value reset 0x00, // clk out disable 0x00, // close timer 0x00, } /*********************************************************************/ extern void Current_Time ( void ) extern void Set_Time ( void )
標簽: c8051f020 SYSTEM CLOCK IIC
上傳時間: 2015-06-30
上傳用戶:edisonfather
輸入:以十進制的形式讀入要判斷的年份,從鍵盤取得的一個十進制數轉換為二進制數存入BX寄存器中,再將BX中的內容保存在變量year中。 判斷:首先將year中的內容首先除以4,不能被4整除,則一定不是閏年,能被4整除的,需再將year中的內容除以100,不能被100整除的,則一定是閏年,能被100整除的,需再將year中的內容除以400,能被400整除的,則是閏年,不能被400整除的,則不是閏年。 輸出:經判斷后,是閏年的輸出“This is a leap year!”,不是閏年的則輸出“ This is not a leap year! ”,然后輸出是否要繼續判斷另一年份是否是閏年的提示字符串“ Continue jugding(y/n)?”,輸入‘y’,則輸入要判斷的年份,輸入其它字符則結束程序。
上傳時間: 2015-09-21
上傳用戶:xmsmh
This program demonstrates using watchdog timers to invoke deadline handlers. CoordinatorTask sends data to the organizer. OrganizerTask receives data from the coordinatorTask, and resets the coordinatorTask when no data is sent by the coordinatorTask in the past five seconds (deadline time). This demonstration program is automatically stopped after twenty seconds.
標簽: CoordinatorTask demonstrates deadline handlers
上傳時間: 2015-09-21
上傳用戶:大融融rr
c語言程序,將阿拉伯數字翻譯成英文。如輸入:792677321 輸出:seven hundred ninety-two million six hundred seventy-seven thousand three hundred twenty-one
上傳時間: 2014-01-03
上傳用戶:yyyyyyyyyy
In this first-ever paperback edition of his long-time best-seller, motivational speaker Steve Chandler helps you create an action plan for living your vision in business and in life. It features 100 proven methods to positively change the way you think and act-methods based on feedback from the hundreds of thousands of corporate and public seminar attendees Chandler speaks to each year. 100 Ways to Motivate Yourself will help you break through the negative barriers and banish the pessimistic thoughts that are preventing you from fulfilling your lifelong goals and dreams. Whether you re self-employed, a manager, or a high-level executive, it s still easy to get stuck in the daily routines of life, fantasizing about what could have been. Steve Chandler helps you turn that way of thinking around and make what could have been into what can and will be.
標簽: motivational best-seller first-ever paperback
上傳時間: 2015-10-26
上傳用戶:牛津鞋
When I first studied Kalman filtering, I saw many advanced signal processing submissions here at the MATLAB Central File exchange, but I didn t see a heavily commented, basic Kalman filter present to allow someone new to Kalman filters to learn about creating them. So, a year later, I ve written a very simple, heavily commented discrete filter.
標簽: submissions processing filtering advanced
上傳時間: 2015-12-23
上傳用戶:變形金剛
procedureTForm1.Button1Click(Sender:TObject) var S:String begin S:=idhttp1.Get(PostURL.text+ ?username= +EdUserName.Text+ &password= +EdPassWord.Text+ &password2= +EdPassWord.Text+ &email= + EdEMail.Text+ &gendernew=1&year=&month=&day=&locationnew =&site=&oicq=&icq=&yahoo=&msn=&bio=&styleidnew =&tppnew=0&pppnew=0&timeformatnew=12&cstatus=&dateformatnew =yyyy-mm-dd&showemail=1&newsletter=1&timeoffsetnew=8&avatar =&sig=®submit=注冊 ) //一句代碼 ifPos( 非常感謝您的注冊 ,s)>1then //判斷部分 ShowMessage( 注冊成功! ) else ifPos( 已經被注冊了 ,S)>1then ShowMessage( 該用戶名或E-Mail已被注冊! ) else ShowMessage( 已關閉注冊,注冊失敗! ) end
標簽: procedureTForm PostURL TObject Button
上傳時間: 2014-08-24
上傳用戶:努力努力再努力