Hello Joe,
It already works your I code?.
@ Joe,
in your previous example, you should move your ISR or jump over
What happen here is that it meet a RESUME, which do something close to a RETURN. Having nothing is the stack, it jump somewhere you don't know and execute the code at the top again and again... and again...Code:Init: lcdout $FE,1 LCDOUT 254,128,"AUTHORIZATION" LCDOUT 254,192,"REQUIRED TO OPEN" LCDOUT 254,153,"THIS GATE" LCDOUT 254,212,"KEY ENTRY CODE" ' ----> goto start: disable KeypadINT: @ READKEYPAD _ByteA TRISB=%11110000 PORTB=0 INTCON.0=0 resume enable Start:
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Leonardo, sorry i don't have Proteus, will be faster if you tell me wich PIC and how your keypad is attach to it.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
.
Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
.
There simply is no "Happy Spam" If you do it you will disappear from this forum.
sweet!
Pump up the volume...
<embed src="http://www.mister-e.org/Wav/yehaw.wav" autostart=false loop=false>
Last edited by mister_e; - 12th February 2007 at 20:33.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Bookmarks