T6963C GLCD display graphic mode

Post your requests and ideas on the future development of mikroBasic.
Post Reply
Author
Message
luca crotti
Posts: 100
Joined: 06 Nov 2004 21:50

T6963C GLCD display graphic mode

#1 Post by luca crotti » 17 Apr 2009 08:56

hi,

I found in the datasheet of this display that it's possible to set different graphic display mode:

Attribute function
"Reverse display", "Character blink" and "Inhibit" are called "Attribute". The attribute data is written in the graphic
area defined by control word set command. The mode set command selects text display only and graphic display cannot be
displayed.
The attribute data of the lst character in text area is written at the lst byte in graphic area, and attribute data of n-th
character is written at the n-th byte in graphic area. Attribute function is defined as follow.
Attribute RAM byte x x x x d3 d2 d1 d0
d3 d2 d1 d0 Function
0 0 0 0 Normal display
0 1 0 1 Reverse display
0 0 1 1 Inhibit display
1 0 0 0 Blink of normal display
1 1 0 1 Blink of reverse display
1 0 1 1 Blink of inhibit display
(ref. manual MODEL NO: 240128-06 - page n. 19)

so, I wish to add the INVERT color for the graphic.

Now in the compiler it is possible to choose:

Code: Select all


pcolor = T6963C_[WHITE[BLACK]

I'd like to have something like:

Code: Select all


pcolor = T6963C_[WHITE[BLACK[INVERT]


Is it possible?

thank you,

Luca Crotti

Deepak
Posts: 55
Joined: 08 Jan 2009 06:00
Location: India

#2 Post by Deepak » 03 Jun 2009 06:12

Hi luca crotti, well I'm not very sure what your question is. I'm assuming you want a whit background with black letters instead of the other way round. If thats right, to do so all you have to do is fill the GLCD(i.e GLCD_Fill(0xFF)) and make the colorof the fonts 0 in the write command.

Post Reply

Return to “mikroBasic Wish List”