Os motores de busca de Datasheet de Componentes eletrônicos
  Portuguese  ▼
ALLDATASHEETPT.COM

X  

AY0438IP Folha de dados(PDF) 6 Page - Microchip Technology

Nome de Peças AY0438IP
Descrição Electrónicos  32-Segment CMOS LCD Driver
PDF  11 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Fabricante Electrônico  MICROCHIP [Microchip Technology]
Página de início  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

AY0438IP Folha de dados(HTML) 6 Page - Microchip Technology

Back Button AY0438IP Datasheet HTML 2Page - Microchip Technology AY0438IP Datasheet HTML 3Page - Microchip Technology AY0438IP Datasheet HTML 4Page - Microchip Technology AY0438IP Datasheet HTML 5Page - Microchip Technology AY0438IP Datasheet HTML 6Page - Microchip Technology AY0438IP Datasheet HTML 7Page - Microchip Technology AY0438IP Datasheet HTML 8Page - Microchip Technology AY0438IP Datasheet HTML 9Page - Microchip Technology AY0438IP Datasheet HTML 10Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 6 / 11 page
background image
AY0438
DS70010I-page 6
© 1995 Microchip Technology Inc.
retlw
B'01111101'
;decode for 6
retlw
B'00000111'
;decode for 7
retlw
B'01111111'
;decode for 8
retlw
B'01101111'
;decode for 9
;
;
start
clrf
PORTB
bsf
STATUS,RP0
;set portb 0,1&2 as outputs
movlw
B'11111000'
;
/
movwf
PORTB
;
/
bcf
OPTION,RBPU
;enable pull-up for switch
bcf
STATUS,RP0
wait
btfsc
UPDATELCD
;see if update switch is low
goto
wait
;no then wait
bcf
LOAD
;make sure load is disabled
movf
LSD,w
;get least significant value
clrf
PCLATH
;PCH = 0
call
DecodeValue
;decode the value
call
Send8
;serially output the seg values
movf
SCNDSD,w
;get 2nd significant digit
call
DecodeValue
;decode it
call
Send8
;serially output it
movf
THRDSD,w
;get 3rd significant digit
call
DecodeValue
;decode it
call
Send8
movf
MSD,w
;get Most significant value
call
DecodeValue
;decode it
call
Send8
;serially send it
bsf
LOAD
;toggle the LOAD line
bcf
LOAD
;to enable the latches
KeyReleased
btfss
UPDATELCD
;wait for key to be released
goto
KeyReleased
goto
wait
;repeat loop.
;
;Send8, sends the 8 bits in the W register
Send8
movwf
temp
;save in temp
movlw
.8
;init count
movwf
count
;to 8
sendloop
bcf
DATAIN
;make sure DATAIN is low
rrf
temp
;rotate value through carry
btfsc
STATUS,C
;if bit clear then skip
bsf
DATAIN
;else set data bit
bsf
CLK
;toggle clock
bcf
CLK
;
/
decfsz
count
;see if 8 done
goto
sendloop
;no then do all
return
;else return
end



Html Pages

1 2 3 4 5 6 7 8 9 10 11


Folha de dados Download

Go To PDF Page


Ligação URL



ALLDATASHEET é útil para você?  [ DONATE ] 

Sobre Alldatasheet   |   Publicidade   |   Contato conosco   |   Privacy Policy   |   Link para a ficha técnica    |   roca de Link   |   Lista de Fabricantes
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