Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
08/10/06 23:48
Read: times


 
#122007 - my response:
Responding to: ???'s previous message
"Your question is so vague as to be useless.

What LCD are you using?

And what LCD is bidirectional -- in other words, what makes you think you can read from LCD the value that it displays in a particular position?"

I haven't heard back from the dude, but maybe his English parser exploded on my third sentence.

Anyways, the Hitachi 44780 LCD controller does have a "read the character at the current cursor position" command, which I'd forgotten about (hence the rather nasty tone, which I should probably apologize for but won't) and which our drive-by e-mailer Zahid would know had he bothered to RTFDS. It presumes that the hardware doesn't tie the R/W signal to Write. As to WHY you'd want to read it back, dunno.

I'm futzing with this 480-by-128 pixel GLCD I got from Marlin P Jones for $7. It requires a controller, so I built one using a Xilinx FPGA (gotta LOVE dual-port block RAMs with one side being 8 bits wide and the other being 1 bit wide and both sides run off of different, asynchronous clocks!) and an SiLabs '340 (USB, don'tcha know). The current implementation is a dumb VT-100-type display. The dual-ports are the display buffer; the '340 simply copies a character map from a table to the correct locations in the display buffer. Readback is useful, say if you wanted to have a cursor (all black) and when the cursor is over a character you're already displaying, that character is shown inverse. So you need to read back what's at the current cursor location and invert it to show the cursor.

Anyways, it's all fun and at some point I'm going to put it up on the web somewhere.

-a

List of 27 messages in thread
TopicAuthorDate
e-mail, they write e-mail            01/01/70 00:00      
   And in the e-mail, they answered themselves            01/01/70 00:00      
   nah            01/01/70 00:00      
      unused locations can be used as scratchpad            01/01/70 00:00      
         sure, when you want to show your \'skills\'            01/01/70 00:00      
   or maybe            01/01/70 00:00      
   my standard response to such            01/01/70 00:00      
      Additional Standard Response            01/01/70 00:00      
         Yes, Joe I use that one when the secons e-mail arr            01/01/70 00:00      
         I thought...            01/01/70 00:00      
            and sometimes it's not so nice ...            01/01/70 00:00      
               Yes, unfortunately...            01/01/70 00:00      
                  Not unfortunate            01/01/70 00:00      
                  number 10 is who keeps me going            01/01/70 00:00      
            the question is "what is help?"            01/01/70 00:00      
            Indeed.            01/01/70 00:00      
               Albert Schweitzer            01/01/70 00:00      
                  Huh?            01/01/70 00:00      
                     Please see my private mail            01/01/70 00:00      
                        Read and answered. Thanks            01/01/70 00:00      
                           I read and enjoyed it...            01/01/70 00:00      
      my response:            01/01/70 00:00      
         ah ha.....and stuff            01/01/70 00:00      
            LCD code            01/01/70 00:00      
         If it's a character LCD, he CAN and should ...            01/01/70 00:00      
            naah            01/01/70 00:00      
               That should already have been done ...            01/01/70 00:00      

Back to Subject List