原帖由 tnovicet 於 2007-7-2 00:59 發表
Assembler for the demo.hex

$MOD52
$PAGEWIDTH(132)
$DEBUG
$OBJECT
$NOPAGING

STACK        DATA        2FH        ; FROM 30H - 5FH

        ORG        0000H                        ; POWER ON/RESET VECTOR
        JMP ON_RESET

        RETI

ON_RESET:
   ...


可以簡單說明一下和原program的分別嗎?(例如有那些是不能逆的)
有那些是會轉了用其他表示法等等

TOP

回復 #70 MCLL 的帖子

Thx, 睇完精華區就知道....

$35蚊, 有GLCD, 有BL -_-, 係邊到搵, 返賽格都難搵

快0的去買返幾塊

TOP

原帖由 palm3tong 於 2007-6-27 13:59 發表
ktktk,

Thank you for your detail information and I will read, digest and try. Thank you again for your time and effort in helping us.



ktktkt

just want to let you know. I can make it work both with the demo program and with the C code that ktktkt posted. I can send "something" to the LCD and display on it. Next step is to write something meaningful to it. More things to learn but anyway, thank you for your help.

TOP

原帖由 palm3tong 於 2007-7-2 13:20 發表


ktktkt

just want to let you know. I can make it work both with the demo program and with the C code that ktktkt posted. I can send "something" to the LCD and display on it. Next s ...



Contragulations! I just think the demo circuit and the demo program should be OK. The circuit is a very typical 8051 circuit, I can't see why the seller would 'play' us and release false information. DELETED

Thanks sharing! Cheers!

[ 本帖最後由 ktktkt 於 2007-7-5 11:27 編輯 ]

TOP

原帖由 5dollar 於 2007-7-1 22:48 發表
haven't studied the datasheets but found some info here

http://www.crystalfontz.com/forum/showthread.php?t=4808



I see! I check the datashseet of sed1565 and ks0713, the bias select value is a bit different. But when we say two LCDs are compatible, we mean they have the same command set and read/write timing only. The bias, duty ratio settings, driving voltage may depend on the LCD type, materials too. But from the software control point of view, they are compatible. That why the posts you mentioned also indicated that their software can drive both type of LCDs. Actually, when I tried the 18pin gLCD, I found that KS0713, SED1565, ST7565, S6B0724 are basically compatible, I actually wrote the driver based on ST7565, not KS0713.

TOP

Two more photos for sharing:

TOP

聽日落去睇下仲有冇貨先^.^

TOP

那兩幅相好毒...

TOP

ktktkt,

I am studying your code but found it difficult to understand.

You wrote:
delay_ms(4000);
        lcdClear();
        lcdGotoXY(0,0);
        lcdDisplayStr("HELLO WORLD!", &Font_System3x6);
        lcdGotoXY(10,2);
        lcdDisplayStr("HELLO WORLD!", &Font_System5x8);
        lcdGotoXY(20,4);
        lcdDisplayStr("Hello World!", &Font_System7x8);
        delay_ms(4000);

You didn't include the "lcdDisplayStr" function. Can you show me how to send the string to the LCD?
Thanks.

TOP

原帖由 palm3tong 於 2007-7-2 21:41 發表
ktktkt,

I am studying your code but found it difficult to understand.

You wrote:
delay_ms(4000);
        lcdClear();
        lcdGotoXY(0,0);
        lcdDisplayStr("HELLO WORLD!" ...


I think you could ignore this part because I didn't include the font data and and the functions to use the font data (they are just based on the code posted, nothing special). If you are interested in that, you can just search the Interest and there are lots of coding examples. I just consolidate all their works and write my own drivers, so when I use a new microcontroller, I can just amend my library a bit and use it.

TOP