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.

problem in programming ARM-7 LPC 2129 to interface with LCD

Status
Not open for further replies.

ARAVINDHANK

Newbie level 6
Joined
Jan 23, 2013
Messages
12
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,353
I need to know how to access P0.16 to P0.23.
I have tried it in the following manner as suggested in the data sheet, but they doesnt work.
"FIO0PIN2 =value;" or "IO0PIN=(IO0PIN && 0xFF00FFFF) || value;".
please anybody help me.....
 

HI..
the basic is if you want to set pins from 16 to 23 then
Code:
IOSET0=0x00ff0000;
and to clear only those pins
Code:
IOSET0=0xff00ffff;
that's it.... now if value=0x55; and you want to send it on pins 16 to 23 then
IOSET0=(value<<16);

check the attached files.. there is proteus simulation too insisde it..:wink:
Hope this helps..
Regards ANJ
 

Attachments

  • lcd.zip
    98 KB · Views: 71

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top