It runs !!!
I did just a little try ...16F84A, button on PortB.0, Led on PortB.7
see :
'Test Blink
ON INTERRUPT GOTO Period
DISABLE INTERRUPT
DEFINE LCD_Ebit 1
I var Bit
Periode var Word
Led var Portb.7
Led = 0
Periode = 64
loop:
INTCON.4 = 1
For I = 1 to 1000
Pauseus Periode
Next I
Toggle led
Goto loop
Period:
INTCON = $80
Periode = ( Periode /2 )
IF NOT Periode THEN
Periode = 64
ENDIF
GOTO loop
END
the HEX, now, in the Program Window
Change line 5 ( RETURN ) to ( GOTO 0x54 ) ....
ENJOY !!!
That's all !!!
Last edited by Acetronics2; - 16th December 2005 at 14:19.
************************************************** ***********************
Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
************************************************** ***********************
IF there is the word "Problem" in your question ...
certainly the answer is " RTFM " or " RTFDataSheet " !!!
*****************************************
Bookmarks