Hi everyone
I tried with GLCD 240*128 (T6963) + Atmega128 but it didn't work well: the font could not change, not invert, I used Evert's code on his website but it's still the same problem.
[code:1:e0afc2caf2]
Config Graphlcd = 240 * 128 , Dataport = Porta , Controlport = Portc , Ce = 3 , Cd = 0 , Wr = 2 , Rd = 1 , Reset = 4 , Fs = 5 , Mode = 6
Cursor Off Noblink
Restore font8x8
Locate 1 , 1 : Lcd "MAIN MENU"
Restore font16x16
Locate 3 , 1 : Lcd "MAIN MENU" ' It's still font8x8
[/code:1:e0afc2caf2]
When I tried with GLCD 128*64 (KS0108) and it work well
[code:1:e0afc2caf2]
Setfont font8x8
Lcdat 1 , 1 , "A" , 255
Lcdat 2 , 2 , "B ",0
[/code:1:e0afc2caf2]
Anyone can give me the answers.
Thanks so much.
Best Regards.
Hoang.
↧