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.

Can anybody help me..?

Status
Not open for further replies.

theenes

Junior Member level 2
Joined
Sep 15, 2005
Messages
21
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,485
i'm interfacing LCD HD44780 with PIC16F877..
4 bit data transfer..when doin LCD Initialisation..i dont understand the need of Lcdcmdout Routine:

; Lcdcmdout Routine
LC02: MOVWF R4L
BCF 0x06,3
BCF 0x06,0
MOVLW 0x0F
ANDWF 0x06,F
MOVF R4L,W
ANDLW 0xF0
IORWF 0x06,F
BSF 0x06,2
NOP
BCF 0x06,2
SWAPF R4L,F
MOVLW 0x0F
ANDWF 0x06,F
MOVF R4L,W
ANDLW 0xF0
IORWF 0x06,F
BSF 0x06,2
NOP
BCF 0x06,2
MOVLW 0xD0
MOVWF R4L
MOVLW 0x07
MOVWF R4H
CALL Y001
RETURN
can anyone..explain me wats the function of the coding and how it works..

..i'm attaching the full coding..besides tht,can u explain to me bout ;Waitms Routine.
 

biker_68

Newbie level 3
Joined
Feb 9, 2006
Messages
3
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,299
Hi! I'm sory my bad english,... Try use MicroBasic for begin.
 

niket_304

Member level 4
Joined
Dec 21, 2005
Messages
73
Helped
3
Reputation
6
Reaction score
2
Trophy points
1,288
Activity points
2,002
You can find it on http:/www.8052.com.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top