View previous topic :: View next topic |
Author |
Message |
oran
Joined: 04 Sep 2010 Posts: 9
|
program LCD in C |
Posted: Thu Sep 09, 2010 11:46 am |
|
|
Hello,
I'm trying now to control an LCD display (LM044L) with a pic 16F877A.
I need a program the pic in C and compiled with CCS PCW.
and here are my connections:
RD0 -> E
RD1 -> RS
RD2 -> R / W
RD4 -> D4
RD5 -> D5
RD6 -> D6
RD7 -> D7
D0 ,D1 ,D2 ,D3 in air
VSS in ground
VDD in alimentation
VEE in potentiometer
help me |
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
|
oran
Joined: 04 Sep 2010 Posts: 9
|
program LCD in c |
Posted: Thu Sep 09, 2010 4:53 pm |
|
|
Hello,
I do not want that, I need a simple program which controls the LCD based on a 4-bit PIC16F877 which displays two lines such as the duty ratio of chopper
help me |
|
|
deperkin
Joined: 04 Feb 2009 Posts: 83 Location: PA
|
|
Posted: Thu Sep 09, 2010 6:07 pm |
|
|
the flex driver that he gave you in the above link will do that.
all you need to do is print to the lines you want.
It will work for your lcd. |
|
|
dyeatman
Joined: 06 Sep 2003 Posts: 1934 Location: Norman, OK
|
|
Posted: Thu Sep 09, 2010 6:12 pm |
|
|
In two successive posts he has been asking for someone to write his
program for him. He started out saying he wasn't a C programmer.
Quote: | I need a program the pic in C and compiled with CCS PCW. |
Apparently he wants someone to write the program, debug it, compile it with
PCW and give him the hex file... _________________ Google and Forum Search are some of your best tools!!!! |
|
|
oran
Joined: 04 Sep 2010 Posts: 9
|
program LCD in c |
Posted: Thu Sep 09, 2010 6:20 pm |
|
|
Hello,
I have a project to do as regards the control of a chopper mosfet is connected to the LCD is well worth the duty cycle is possible that if you help me write a few lines necessary to correspondent to charge my notebook, we of course respect the connections
help me |
|
|
deperkin
Joined: 04 Feb 2009 Posts: 83 Location: PA
|
|
Posted: Thu Sep 09, 2010 6:58 pm |
|
|
Hi Oran,
I don't quite understand what you are looking for.
You want to charge your notebook? what type of connection?
The link to the LCD program provided will help you with the LCD part of the code.
What language do you speak? I can translate if you like.
Please clarify what you are looking for. |
|
|
oran
Joined: 04 Sep 2010 Posts: 9
|
LCD programming in C |
Posted: Fri Sep 10, 2010 4:21 am |
|
|
Hello,
I just need a program in C using CCS PCW compiler, in my setup to simulate under ISIS a pic 16f877A + LCD (LMO44L) to 4 bits, connections here is message previous to view a value example .
help me. |
|
|
|