http://www.datasheet4u.com

900,000+ Datasheet PDF Search and Download

Datasheet4U offers most rated semiconductors datasheets pdf





TIANMA
TIANMA

ProgrSED1335 Datasheet Preview

ProgrSED1335 Datasheet

LCD_Module

No Preview Available !

ProgrSED1335 pdf
Tianma Microelectronics (USA) Inc
Software:
m$MOD751
.co; **************************************************
;* *
U; * Tianma 320 x 240 programming code
t4; * *
e; **************************************************
he; The processor clock speed is 16MHz.
; Cycle time is .750mS.
S; Demo software to display a bonsai
ta; tree bitmap image and 4 lines of
a; text on a 320 x 240 LCD.
.Dorg 00h
ljmp start
;program start
ww morg 100h
w o; Initialize the 32241
; Text page 0000h 04afh
.c; Graphics page 04b0h 2a2fh
start:
Umov
lcall
t4mov
lcall
mov
elcall
mov
elcall
mov
hlcall
mov
lcall
Smov
lcall
tamov
lcall
mov
alcall
mov
lcall
.Dmov
lcall
mov
lcall
wmov
mlcall
r1,#40h
comm32
dptr,#msg1
data32
r1,#44h
comm32
dptr,#msg2
data32
r1,#5dh
comm32
dptr,#msg3
data32
r1,#4ch
comm32
r1,#5ah
comm32
dptr,#msg18
data32
r1,#5bh
comm32
dptr,#msg4
data32
r1,#59h
comm32
dptr,#msg5
data32
;system set
;ss param
;scroll
;scroll param
;csr form
;csr param
;csrdir
;hdot scr
;hdot param
;overlay
;ovrly param
;disp on/off
;disp param
w .co; clear the text page
lcall clrtext
w t4U; display bitmap
mov r1,#46h
elcall comm32
emov dptr,#msg6
hlcall data32
Smov r1,#42h
talcall comm32
mov dptr,#msg12
.Dalcall data32
;set cursor
;mwrite
; display text
mov r1,#46h
lcall comm32
mov dptr,#msg7
lcall data32
mov r1,#42h
lcall comm32
mov dptr,#msg14
lcall data32
mov r1,#46h
lcall comm32
mov dptr,#msg8
lcall data32
mov r1,#42h
lcall comm32
mov dptr,#msg15
lcall data32
mov r1,#46h
lcall comm32
mov dptr,#msg9
lcall data32
mov r1,#42h
lcall comm32
mov dptr,#msg16
lcall data32
mov r1,#46h
lcall comm32
mov dptr,#msg10
lcall data32
mov r1,#42h
lcall comm32
mov dptr,#msg17
lcall data32
sjmp $
;set cursor
;mwrite
;set cursor
;mwrite
;set cursor
;mwrite
;set cursor
;mwrite
;stop
;*************************************************
;SUBROUTINES
; comm32 sends the byte in R1 to the
; 32241 display as a command
comm32:
setb
comm321:
mov
mov
clr
clr
setb
setb
ret
p3.2
a,r1
p1,a
p3.0
p3.1
p3.1
p3.0
;a0=1=command
;get data byte
;CS the display
;strobe
; write32 sends the byte in R1 to the
; 32241 display as a data byte.
write32:
clr
sjmp
p3.2
comm321
;a0=0=data
; data32 sends the message pointed to
; by the DPTR to the 32241 display.
data32:
clr
movc
cjne
ret
a ;get the byte
a,@a+dptr
a,#0a1h,data321;done?
wwwPage 1
Tianma Microelectronics



TIANMA
TIANMA

ProgrSED1335 Datasheet Preview

ProgrSED1335 Datasheet

LCD_Module

No Preview Available !

ProgrSED1335 pdf
data321:
mov
lcall
inc
sjmp
r1,a
write32
dptr
data32
;send it
;next byte
; Clear text RAM on the 3224
clrtext:
mov r1,#46h
lcall comm32
mov dptr,#msg13
lcall data32
mov r1,#42h
lcall comm32
mov dptr,#msg11
lcall data32
mov r1,#46h
lcall comm32
mov dptr,#msg6
lcall data32
ret
;set cursor
;cursor param
;mwrite
;all spaces
;set cursor
;************************************************
; TABLES AND DATA
; Initialization parameters for 3224.
msg1:
db
db
30h,87h,07h,27h ;system set
39h,0efh,28h,0h,0a1h
msg2:
db
db
db
0,0,0efh,0b0h ;scroll
04h,0efh,0,0
0,0,0a1h
msg3:
db
04h,86h,0a1h ;csr form
msg4:
msg5:
db
db
01h,0a1h
16h,0a1h
;overlay param
;disp on/off
msg6:
db
msg7:
db
0b0h,04h,0a1h ;set cursor to
;graphics page
31h,2h,0a1h
;set cursor
;text page
;1st line
msg8:
db
59h,2,0a1h
;2nd line
msg9:
db
81h,2,0a1h
;3rd line
msg10:
db
0a9h,2,0a1h ;4th line
; 1200 spaces for text page clear
; The following table is not listed
; here, except for the first 8 bytes,
; but consists of 1200 bytes
Tianma Microelectronics (USA) Inc
; all of which are 20h
msg11:
db
db
'
01ah
'
msg18: db
0,01ah
;hscr param
; 320x240 bonsai tree graphic
; The following table is not listed
; here. It consists of 9600 bytes
; which constitute a full screen
; bit map image of a bonsai tree.
; You may add a few bytes before the
; 01ah termination byte for testing
; puposes or include a complete
; bitmap image
msg12:
db
01ah
msg13:
db
0,0,01ah
;set cursor
;to text page
msg14:
db
db
'HANTRONIX'
0a1h
msg15:
db
db
'Crystal Clear and'
0a1h
msg16:
db
db
'Visibly Superior'
0a1h
msg17:
db
db
'LCD Modules'
0a1h
end
Page 2
Tianma Microelectronics


Part Number ProgrSED1335
Description LCD_Module
Maker TIANMA
Total Page 2 Pages
PDF Download
ProgrSED1335 pdf
Download PDF File


Buy Electronic Components




Related Datasheet

1 ProgrSED1335 LCD_Module TIANMA
TIANMA
ProgrSED1335 pdf






Part Number Start With

0    1    2    3    4    5    6    7    8    9    A    B    C    D    E    F    G    H    I    J    K    L    M    N    O    P    Q    R    S    T    U    V    W    X    Y    Z

site map

webmaste! click here

contact us

Buy Components