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
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.
計稅程序。可以計算每周收入、最近收入、從年初到目前的所得稅、扣除的聯邦收入稅以及帳目檢查等。
This program computes weekly payroll, current earnings, year to date earnings FICA tax, federal Income Tax Withheld, and check Amount.
輸入:以十進制的形式讀入要判斷的年份,從鍵盤取得的一個十進制數轉換為二進制數存入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’,則輸入要判斷的年份,輸入其它字符則結束程序。
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.
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.
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.