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

X  

MPXM2010D 数据表(PDF) 10 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) 10 Page - Freescale Semiconductor, Inc

Back Button MPXM2010D Datasheet HTML 6Page - Freescale Semiconductor, Inc MPXM2010D Datasheet HTML 7Page - Freescale Semiconductor, Inc MPXM2010D Datasheet HTML 8Page - Freescale Semiconductor, Inc 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 Next Button
Zoom Inzoom in Zoom Outzoom out
 10 / 24 page
background image
AN1950
Sensors
10
Freescale Semiconductor
do256: lda #$C9
jsr lcdcmdo
;position LCD cursor at the right spot
lda CNT
deca
jsr lcdbyto
;display current iteration $FF downto $00
lda #':'
jsr lcdchro
jsr adcbyti
;get reading
add RA
sta RA
lda RB
adc #$00
sta RB
;add into RB:RA (16 bit add)
jsr lcdbyto
;show RB
lda RA
jsr lcdbyto
;then RA
dbnz CNT,do256
;and do 256x
lsl RA
;get bit7 into carry
bcc nochg
;if C=0 then no need to round up
inc RB
;otherwise round up
nochg: lda RB
;we can discard RA: average value is in RB
ldhx #N1
;point to flash location
jsr wrflash
;burn it in!
ldhx #msg05c
;ask for 160mm
jsr lcdstro
waitPB2: brset 2,porta,waitPB2 ;wait for ENT
ldhx #msg05d
;2nd point cal: show values
jsr lcdstro
clr CNT
;ditto as 1st point cal
clr RB
clr RA
do256b: lda #$C9
jsr lcdcmdo
lda CNT
deca
jsr lcdbyto
lda #':'
jsr lcdchro
jsr adcbyti
add RA
sta RA
lda RB
adc #$00
sta RB
jsr lcdbyto
lda RA
jsr lcdbyto
dbnz CNT,do256b
lsl RA
bcc nochg2
inc RB
nochg2: lda RB
cmp N1
;compare N2 to N1
bne validcal
;if different, we are OK
ldhx #msg05e
;otherwise warn of INVALID CAL!
jsr lcdstro
jsr del1s
jsr del1s
jsr del1s
;wait 2s
jmp CALIB
;try cal again



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