Searching \ for '1x16 LCD - Response FIXED!!!!! PICLIST RULES!' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: techref.massmind.org/techref/io/lcd/pic.htm?key=lcd
Search entire site for: '1x16 LCD - Response FIXED!!!!! PICLIST RULES!'.

Truncated match.
PICList Thread
'1x16 LCD - Response FIXED!!!!! PICLIST RULES!'
1999\01\22@113908 by Jon Petty

picon face
Hi all,

Once again you helped me solve a farly simple problem or over sight. Special
thanks to Paul and the others who helped.

The answer: Even though the LCD  is a single line, you configure it for a two
line. It thinks it is a 2 line x 8 character module. When I want to print over
8 chars I have to write to the second line $40.

Sounds pretty simple, but all the code examples I could find didn't even show
that was required. The Optrex data manual didn't tell me (at least I didn't
find it). The Handbook of Microcontrollers didn't address it and the LCD code
provided doesn't work as written and the Basic Stamp manual (1.8) says it is
using a 1x16 single line LCD and that code doesn't work either.

Don't people test their code before they publish it?

But thanks to the PICLIST I can get straight answers from people who make
projects that really work.


Jon


In a message dated 1/21/99 12:10:07 AM US Mountain Standard Time, Borcherdng
writes:

<< Jon,

Hey I have the same problem.   Been working on it slowly...
It is in a 50MHz frequency counter that I fond the complete
design for on the Internet.   Is this what your are working on...

Lets keep each other posted...  I am also working with another
PICLISTER named Ross.
 >>

1999\01\22@131142 by ryan pogge

flavicon
face
>Don't people test their code before they publish it?
Duno , I dont think so, still cant get this EEPROM working.
but thats cause Jeffs example code stinks(just kidding)

>But thanks to the PICLIST I can get straight answers from people who make
>projects that really work.

well, you can only hope.

1999\01\22@144816 by Henry Carl Ott

picon face
At 11:36 AM 1/22/99, you wrote:
>Hi all,
>-----snip-----

>Sounds pretty simple, but all the code examples I could find didn't even show
>that was required. The Optrex data manual didn't tell me (at least I didn't
>find it). The Handbook of Microcontrollers didn't address it and the LCD code
>provided doesn't work as written and the Basic Stamp manual (1.8) says it is
>using a 1x16 single line LCD and that code doesn't work either.
>
>Don't people test their code before they publish it?
>

This particular LCD issue pops up so often it should be noted in a FAQ
somewhere.
 The problem is that all 1x16 LCDs are not the same. I got bitten by this
same 'bug'  when I replaced a lcd display on an existing working design.
The original 1x16 display had an additional LCD driver chips on it and
addressed as one linear 1x16 space. The replacement (to save cost?) only
had one chip and addressed as a 2x8 display. I went nuts with this until
someone on the piclist  (go team!) pointed out the problem to me.

So, the point I'm trying make is that  most people probably (usually,
mostly, eventually) do test their code.
You just have to make sure that you are running their code on the same
hardware they tested it on. Now how often does this happen in the PC world?




carl

--------------------------------------------------------
Henry Carl Ott   N2RVQ    spam_OUTcarlottTakeThisOuTspaminterport.net
http://www.interport.net/~carlott/
--------------------------------------------------------
The sleep of reason breeds monsters.

1999\01\23@030823 by erik

flavicon
face
Again, I'm new so please forgive any ignorance but,

regarding the testing before publication...
Is there a recommended method or means of reporting errors in the
"Embedded Control Handbook"
Being a newbie and relying on examples, I found it very troublesome to
find code that was simply wrong.

Erik


ryan pogge wrote:
>
> >Don't people test their code before they publish it?
> Duno , I dont think so, still cant get this EEPROM working.
> but thats cause Jeffs example code stinks(just kidding)
>
> >But thanks to the PICLIST I can get straight answers from people who make
> >projects that really work.
>
> well, you can only hope.

1999\01\23@170211 by Henry Carl Ott

picon face
At 05:10 AM 1/24/99, you wrote:
{Quote hidden}

 All the displays I've had experience with were bought surplus. I'm sure
the second driver chip is usually omitted for cost purposes. It appears
that the fist batch we ordered (from timeline, inc.) had the second chip,
and all subsequent batches lacked it.

I never tried to enable the extended 10 line character set, but I did not
realize that the additional driver chip was necessary to access it. This
was a while ago (and on a Motorola processor), but I think we needed some
stupid cursor operation and so we went with the 8 line mode.
It certainly was easier to program the display as one linear address
space, but the changes to the code were minor to support what appears to be
the more common single chip display module.

I believe one additional benefit from the additional driver chip however
would be increased contrast do to the ability to use a higher (or is that
lower?) multiplex rate.









carl

--------------------------------------------------------
Henry Carl Ott   N2RVQ    .....carlottKILLspamspam@spam@interport.net
http://www.interport.net/~carlott/
--------------------------------------------------------
The sleep of reason breeds monsters.

1999\01\24@055152 by paulb

flavicon
face
Hello Carl.

>   All the displays I've had experience with were bought surplus.

 Likewise!

> I think we needed some stupid cursor operation and so we went with the
> 8 line mode.

 Cursor or graphics perhaps?  I don't think 10-row mode (actually, 11-
row mode) causes problems with the cursor.

>  I believe one additional benefit from the additional driver chip
> however would be increased contrast do to the ability to use a higher
> (or is that lower?) multiplex rate.

 Yes, you do get a lower multiplex ratio if you use 8-character per
chip, single line mode.  Not much different if you use 11-row mode.
--
 Cheers,
       Paul B.

More... (looser matching)
- Last day of these posts
- In 1999 , 2000 only
- Today
- New search...