Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

LCD driver "pin access" query

Status
Not open for further replies.

ab.vasanthan

Newbie level 5
Joined
Mar 5, 2012
Messages
9
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,341
HI everyone,

I am using PIC 16F887 and CCS-C compiler(version 4.093) plugin in MPLAB IDE ... i ve connected LCD to port D and it is working , i am using LCD.C driver to implement lcd functions in which LCD is configured as port access.now i want to use pin 5 of port d for PWM(half bridge mode) which is already being used as LCD data pin.how do i change LCD data pin ?what changes should i make in LCD.C ? in order to use pin d5 for PWM or to configure LCD using pin access. i am not using pin d3 . if i could use pin d3 for lcd data , i can use pin d5 for pwm ? how to do this ? i ve attached proteus schematic and LCD driver file.
hardware connection details
port D

pin d0 connected to LCD enable
pin d1 connected to LCD RS
pin d2 connected to LCD R/W
pin d3 NOT USED
pin d4 connected to LCD data pin 4
pin d5 connected to LCD data pin 5
pin d6 connected to LCD data pin 6
pin d7 connected to LCD data pin 7

proteus design.pngView attachment lcd.txtproteus design.png
 

Attachments

  • code.txt
    5.2 KB · Views: 39

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top