LCDInfo.com

http://www.lcdinfo.com
It is currently Thu Nov 21, 2024 21:55

All times are UTC + 2 hours




Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Fri Feb 18, 2005 9:18 
Offline

Joined: Wed Dec 01, 2004 8:47
Posts: 13
Hi all,

I am a new member. I need help on set/reset pixel for T6963c.
I have been trying to do it for a week, but i always end up with setting 8 pixels/time. Could any one please explain to me how to set/reset the pixel?
Thank you,


Top
 Profile  
 
 Post subject:
PostPosted: Fri Feb 18, 2005 10:56 
Offline
User avatar

Joined: Fri Dec 03, 2004 7:03
Posts: 201
Location: Sydney, Australia
I'm guessing that you might not be able to.... I'm guessing that what you might need to do, is read the byte location into memory, change the bit you want to change, and then re-write that back.

But I'm only guessing, so I could be wrong.

_________________
Syridian,
http://syridian.com


Top
 Profile  
 
 Post subject:
PostPosted: Sat Feb 19, 2005 17:56 
Offline

Joined: Sun May 05, 2002 22:05
Posts: 2063
Location: Lappeenranta, Finland
With T6963C controller this is possible without reading back the data.

Check the SetLCDPixel() and ClearLCDPixel() functions here:
http://forum.lcdinfo.com/viewtopic.php? ... ght=t6963c


Top
 Profile  
 
 Post subject:
PostPosted: Mon Apr 11, 2005 10:16 
Offline

Joined: Mon Feb 14, 2005 11:01
Posts: 16
Can it be done in asm? I am having difficulties trying to convert the SetLCDPixel() to asm.

addr = G_BASE + (y*BYTES_PER_ROW) + (x/6);
WriteData(addr & 0xFF);
WriteData(addr >> 8);
WriteCtrl(0x24);
WriteCtrl(0xf8 | (5-(x % 6)));

MOV COM,#98H
LCALL C_DW2
MOV DAT1,O_X
MOV DAT2,O_Y
MOV COM,#024H
LCALL C_DW
MOV COM,#0F8H ; SET DATA AUTO WRITE
LCALL C_DW2

Have I done the conversion correctly? I think I had left out something because my display was not too ideal.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC + 2 hours


Who is online

Users browsing this forum: Google [Bot] and 42 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group