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.

I want to move data on LCD pin which connected on pin number 12,13 and 15 portB

Status
Not open for further replies.

kushal nandanwar

Full Member level 3
Joined
Jun 9, 2013
Messages
177
Helped
6
Reputation
12
Reaction score
6
Trophy points
18
Activity points
1,258
I want to move data on LCD pin which connected on pin number 12,13 and 15 portB, Will give logic will work portB have pin 0 to 7 and then 12 to 15 pin. I am using p24fj64gc010 controller

Code:
void dis_data (unsigned char dataout)
{
unsigned int dataout1;
dataout1 = (dataout << 4 ) & 0xF00;
data(dataout1);
delay_ms(10);
dataout1 = (dataout << 8 ) & 0xF00; 
data(dataout1);
delay_ms(10);
}
 

The attached code is useless in regard to the issue, there isn't any reference to any pin/port there.
Moreover the question itself is unclear at all, you did not specify the map from/to for the pins to change.
 

If you are expecting some help, take a time to elaborate the question.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top