To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.handyboardOpen lugnet.robotics.handyboard in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / Handy Board / 3755
  LCD Addressing - & - Expanded Mode
 
Two questions: 1) I'm having a little trouble figuring out how the LCD is addressed. It uses A8 and A8 but also is clocked from Port A. Can someone explain how to properly address the LCD using ASM? 2) The Mode B pin is always grounded. How does the (...) (26 years ago, 3-May-98, to lugnet.robotics.handyboard)
 
  Re: LCD Addressing - & - Expanded Mode
 
(...) You can only run the LCD when in single chip mode. (...) This leaves the chip in 'special test mode' that lets you go into and out of expanded mode by writing the config register. --Chuck (26 years ago, 4-May-98, to lugnet.robotics.handyboard)
 
  Re: LCD Addressing - & - Expanded Mode
 
So, this still doesn't help me figure out how to address the LCD. It has A8 and A9 connected along with a CLK from Port A. Does this mean that the LCD is NOT memory mapped? Do I first have to write to Port B then write to Port A, to clock it. This (...) (26 years ago, 4-May-98, to lugnet.robotics.handyboard)
 
  Re: LCD Addressing - & - Expanded Mode
 
Wierd: Anyway I have some kind of problem with the handyboard. All steps up to the testing of the LCD went fine. When I plugged in the LCD and turned it on, it lights up (one line) bright not dim. I tried to download the pcode_hb.s19 with config set (...) (26 years ago, 4-May-98, to lugnet.robotics.handyboard)
 
  Re: LCD Addressing - & - Expanded Mode
 
I found the driver you sent earlier. Thanks. BTW, I found out that my LCD is good but I still have a problem. It appears that I cannot change my CONFIG reg. Maybe because it is an 811E2; don't know. Should be able to however. Since the program was (...) (26 years ago, 4-May-98, to lugnet.robotics.handyboard)
 
  Re: LCD Addressing - & - Expanded Mode
 
From the driver code I recently sent out: * LCD Connections on the Handyboard * PORTB bit 0 - R/W * PORTB bit 1 - RS (Register Select, 0 = instruction) * PORTC 8 bits of Data * PORTA bit 4 - E clock (...) That is correct, the LCD is NOT memory (...) (26 years ago, 4-May-98, to lugnet.robotics.handyboard)
 
  Re: LCD Addressing
 
Mike, Chuck McManis may have answered your request, but in case you still want sample code I am attaching an example code that prints to the HandyBoard display. (The code forms part of the Handy Board buffalo I had developed). I had trouble getting (...) (26 years ago, 5-May-98, to lugnet.robotics.handyboard)

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR