数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

MPXM2010D 数据表(PDF) 13 Page - Freescale Semiconductor, Inc

部件名 MPXM2010D
功能描述  Water Level Monitoring
PDF  24 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  FREESCALE [Freescale Semiconductor, Inc]
网页  http://www.freescale.com
标志 FREESCALE - Freescale Semiconductor, Inc

MPXM2010D 数据表(HTML) 13 Page - Freescale Semiconductor, Inc

Back Button MPXM2010D Datasheet HTML 9Page - Freescale Semiconductor, Inc MPXM2010D Datasheet HTML 10Page - Freescale Semiconductor, Inc MPXM2010D Datasheet HTML 11Page - Freescale Semiconductor, Inc MPXM2010D Datasheet HTML 12Page - Freescale Semiconductor, Inc MPXM2010D Datasheet HTML 13Page - Freescale Semiconductor, Inc MPXM2010D Datasheet HTML 14Page - Freescale Semiconductor, Inc MPXM2010D Datasheet HTML 15Page - Freescale Semiconductor, Inc MPXM2010D Datasheet HTML 16Page - Freescale Semiconductor, Inc MPXM2010D Datasheet HTML 17Page - Freescale Semiconductor, Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 13 / 24 page
background image
AN1950
Sensors
Freescale Semiconductor
13
jsr lcdchro
;display "cm" for centimeters
bra goflow
dsplIN: lda #'i'
jsr lcdchro
lda #'n'
jsr lcdchro
;display "in" for inches
;- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
goflow: lda #$C0
;******** now let's display the flow in decimal ********
jsr lcdcmdo
;position cursor on 1st character 2nd line
lda MA
;get flow
lsla
;test sign of rate (in MA)
bcc positiv
;if positive, then it's easy
lda MA
;otherwise 1's complement of MB
coma
inca
sta MA
cmp #$64
;check to see if >100
bcs not2lo
;if not we are OK
lda #'<'
;otherwise display that we exceeded min rate
jsr lcdchro
;that LCD can display (<9.9)
lda #$63
;force value to 99
sta MA
bra goconv
not2lo: lda #'-'
jsr lcdchro
;display that minus sign
bra goconv
positiv: lda MA
cmp #$64
;check to see if >100
bcs not2hi
;if not we are OK
lda #'>'
;otherwise display that we exceeded max rate
jsr lcdchro
;that LCD can display (>9.9)
lda #$63
;force value to 99
sta MA
bra goconv
not2hi: lda #'+'
jsr lcdchro
;display the plus sign (to keep alignment)
goconv: lda MA
;get flow
clrh
ldx #$0A
;and divide by 10
div
jsr lcdnibo
;display "tens" digit
lda #'.'
jsr lcdchro
;display decimal point
pshh
pula
jsr lcdnibo
;and first decimal
lda UnitType
;check for cm ($A0) vs. in (#3F)
cmp #$3F
beq dsplINf
dsplCMf: lda #'c'
jsr lcdchro
lda #'m'
bra reusef



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24


数据表 下载

Go To PDF Page


链接网址



ALLDATASHEET是否为您带来帮助?  [ DONATE ] 

关于 Alldatasheet   |   广告服务   |   联系我们   |   隐私政策   |   数据表链接    |   链接交换   |   制造商名单
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com