CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

Read cursor position in a GLCD with t6963c driver

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
allr



Joined: 28 Sep 2006
Posts: 4

View user's profile Send private message

Read cursor position in a GLCD with t6963c driver
PostPosted: Mon May 14, 2007 7:05 am     Reply with quote

Question Hello,

It is possible to read the position of the cursor, in text mode, of a GLCD with a T6963C controller?

Thanks
treitmey



Joined: 23 Jan 2004
Posts: 1094
Location: Appleton,WI USA

View user's profile Send private message Visit poster's website

PostPosted: Mon May 14, 2007 11:30 am     Reply with quote

I think the standard is to keep track of it yourself and then set it yourself to a given area.
Code:
5.6.2 To set the position of the cursor onscreen, use ‘CURSOR POINTER SET’
For example for the cursor at 24h across, 03h down
status check
1st data Xadrs 24h
status check
2nd data Yadrs 03h
status check
Command 21h


That is from datasheet page 12. Set cursor pointer. command 0x21
treitmey



Joined: 23 Jan 2004
Posts: 1094
Location: Appleton,WI USA

View user's profile Send private message Visit poster's website

PostPosted: Mon May 14, 2007 11:37 am     Reply with quote

Keep in mind that the cursor((blinking underline)) is not related to the datapointer((writebyte('A'))) displays an 'A'

ie: I can have the cursor at 0,0 and display text at 2,2.
allr



Joined: 28 Sep 2006
Posts: 4

View user's profile Send private message

PostPosted: Tue May 15, 2007 1:13 am     Reply with quote

Thanks for the answer treitmey, but what really I want to know are, if there is some command or method to know the real position of the cursor, that is to say, to read the address of the cursor.
treitmey



Joined: 23 Jan 2004
Posts: 1094
Location: Appleton,WI USA

View user's profile Send private message Visit poster's website

PostPosted: Tue May 15, 2007 7:51 am     Reply with quote

Sorry, no way to do that. As far as I know.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group