Problem with lcd code(unwanted characters!)

Roger_NO

Member
Hi!

The problem with my code, is that when i call for an delay in my text table i get extra zeroes "009min" when alli really want is "09min"

Here's the code were the proble appairs!

Code:
COUNTDOWN_10_MIN
		ADDWF PCL,1
		RETLW '1'
		RETLW '0'
		RETLW 6DH
		RETLW 69H
		RETLW 6EH
		CALL DELAY_1MIN
                CALL RESET          ;clear screen to begin on line 1 with following characters
		RETLW '0'
		RETLW '9'
		RETLW 6DH
		RETLW 69H
		RETLW 6EH
		CALL DELAY_1MIN
 
Last edited:
the delay worked though but all after that, not so good! so you are probably right! the thing i am trying to do is to make a 10 min delay, and make the count down appair on the lcd! i have looked at your tutorial, but it was hard for me to follow compleatly.

can you paste an example of a count down routine!

Roger
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…