count and display in LCD

Status
Not open for further replies.

HCT-Pirate

New Member
hi there am do project with PIC 16f84 and using LCD HD44780

i write the program and i could display on LCD but i have one problem is tht when i count and want get Display i face problem


connection is
RA0 as pulse in put for count


RB0------>D4
RB1------>D5
RB2------>D6
RB3------>D7
RB4------>RS
RB5------>E

The project about count the
value row0 for LCD
priece in ROW 1 LCD


when value equal 5 the priec will be .1 $


and this the ASM code i see what is the mistake in this code or the r any othe way to do this

 
What does it display at the moment?

My initial guess is you need to add these two lines,
Code:
LCDMSG	CLRF	LOOP
	BSF	RSLINE,4
LCDMS2	movf	LOOP,W
	call	MESSAG
	call	LCDOUT
	incf	LOOP,F
	btfss	LOOP,4
	goto	LCDMS2
	CALL	LINE2

[COLOR="RoyalBlue"]	movlw	0xc0
	call	LCDOUT[/COLOR]

;-------- PRICE --------------
LCDMSG2	CLRF	LOOP

Mike.
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…