| ??? 08/01/03 05:31 Read: times |
#51877 - RE: KS0108B _Problem Solved Responding to: ???'s previous message |
Here is a copy of the code with bug:
LVerLine: clr Select
mov r3, #0b8h ;start with first page
VerLup1: mov a, #40h ;problem here...
call Write_Instr ;1st Column CS1
mov a, r3 ;page address
call Write_Instr
mov a, #0ffh
call Write_Data
mov a, #0ffh
call Write_Data
inc r3 ;next page now
cjne r3, #0c0h, VerLup1
ret
The problem got solved by just shifting the Column address write instruction AFTER the page address write instruction. One reason I can guess is that whenever you change the page the Y-Address is at the starting point. And when you ALSO try to write #40h again the Y counter is incremented once. (Incidentally is there any Patenting procedure for such "discovery" ? ;-) ) Raghu |
| Topic | Author | Date |
| KS0108B _Samsung LCD driver | 01/01/70 00:00 | |
| RE: KS0108B _Samsung LCD driver | 01/01/70 00:00 | |
| RE: KS0108B _Samsung LCD driver | 01/01/70 00:00 | |
| RE: KS0108B _Samsung LCD driver | 01/01/70 00:00 | |
| RE: KS0108B _Menno & Stephane | 01/01/70 00:00 | |
| RE: KS0108B _Problem Solved | 01/01/70 00:00 | |
RE: Problem Solving | 01/01/70 00:00 |



