Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

Problem with lcd code(unwanted characters!)

Status
Not open for further replies.

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
 
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top