Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Message

Re: [AVR-Chat] bidirectional lcd

2005-06-14 by David Kelly

On Jun 13, 2005, at 12:58 AM, John Samperi wrote:

> At 12:38 PM 13/06/2005, you wrote:
>
>>
>> What if you want to know the current cursor position?
>>
>
> You can always keep track of where you are in your program,
> however I always have my LCD bidirectional for both reasons,
> and of course if you don't need special LCD character you can
> also utilize the huge memory space in your LCD (8 bytes :-) ).

I too keep track of the position upstream rather than poll the LCD  
controller. Didn't used to. Wasn't hard to do, and my application  
does a lot of brute force positioning so cursor position was  
important. And important to keep track of horizontal scrolling.

At first my LCD was directly attached. Then it was remoted over a  
serial link. Then an RF link got inserted in that serial link... By  
then I was glad that data was only flowing in one direction.

However there is still a reverse channel link. The remote CPU which  
has the LCD attached bidirectionally, can still read cursor position,  
still polls the busy bit, and can complain back thru the channel if  
the LCD is not working.

--
David Kelly N4HHE, dkelly@HiWAAY.net
========================================================================
Whom computers would destroy, they must first drive mad.

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.