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.

proteus+8051+LCD help

Status
Not open for further replies.

abicash

Member level 3
Joined
Jun 26, 2007
Messages
60
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,288
Activity points
1,772
8051 lcd proteus

I m using proteus 6.9 with keil to develop a 51 base LCD driver.
I hv written the code and it displays strings and letters etc fine.
problm arises whn i try to roll it to the right.As I saw it in the data sheets,the code to move the whole display right (w/o changing DDRAM data) is 0x1C or 0x1E.
i hv put a simple loop like

for(i=0;i<16;i++)
{
LCD_out(0,0x1C);
} //where LCD_out is the fn to call with (char type,char val),type=0,thn its
//command type=1 then data

so i xpect it to shift 15 times to the right on LCD,but its shifting to the left instead
I tried with the code 0x18 and the same left shift.
i m using 16x2 LCD and 80C52 @ 24 MHz..init in proteus has been done ok.
can anyone throw some light?
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top