Yahoo Groups archive

AVR-Chat

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

Thread

LCD 2

LCD 2

2007-11-19 by Omid Station

Dear all
   
  Thanks for your reply to my pervious E-mail about LCD ( character ) . unfortunately my problem still exists.
   
  My controller LCD is on my LCD chip and is not a separate chip. I think it woks properly. It is possible header file lcd.h does not work properly.
   
  Can you send me that header file?
   
  My LCD is 20*4 please give me code file too show this words:
   
  Distarnse: 
  Position:
  Mode:
  Time:
   
  Please help me as soon as possible.
  Thanks
   
  Regards

       
---------------------------------
Get easy, one-click access to your favorites.  Make Yahoo! your homepage.

[Non-text portions of this message have been removed]

Re: [AVR-Chat] LCD 2

2007-11-19 by John Samperi

At 04:31 PM 19/11/2007, you wrote:
>   My LCD is 20*4 please give me code file too show this words:
>
>   Distarnse:
>   Position:
>   Mode:
>   Time:
>
>   Please help me as soon as possible.

So what will you be doing if we do the work for you?

Regards

John Samperi

********************************************************
Ampertronics Pty. Ltd.
11 Brokenwood Place Baulkham Hills, NSW 2153 AUSTRALIA
Tel. (02) 9674-6495       Fax (02) 9674-8745
Email: john@ampertronics.com.au
Website  http://www.ampertronics.com.au
*Electronic Design * Custom Products * Contract Assembly
********************************************************

Re: [AVR-Chat] LCD 2

2007-11-19 by Zack Widup

From the looks of it, you've gone way beyond simply trying to get the LCD 
to display something. How much microcontroller experience have you had?

I know there are people here who believe writing in higher-level languages 
than assembler is not the way to go, but at least to start out I think it 
is a great learning tool and is what you need to do.

You need to start off simple; get the datasheet for the HD44780 controller 
and write your own program bit-banged in assembler. Don't try to do 
anything complicated at first; just send it a few characters with your 
program to get the feel for how it displays things. Once you know how to 
make it display characters, then you can start sending it data from some 
other part of your program.

I wrote my own code for the controller and after a couple initial bugs I 
have never had problems with it. I did the same for the PNI digital 
compass chips and other things.

I have the datasheet for the controller on my website:

http://www.qsl.net/w9sz/files/PDFs/HD44780.pdf

Zack
Show quoted textHide quoted text
On Sun, 18 Nov 2007, Omid Station wrote:

> Dear all
>
>  Thanks for your reply to my pervious E-mail about LCD ( character ) . unfortunately my problem still exists.
>
>  My controller LCD is on my LCD chip and is not a separate chip. I think it woks properly. It is possible header file lcd.h does not work properly.
>
>  Can you send me that header file?
>
>  My LCD is 20*4 please give me code file too show this words:
>
>  Distarnse:
>  Position:
>  Mode:
>  Time:
>
>  Please help me as soon as possible.
>  Thanks
>
>  Regards
>

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.