They are separate registers.
If INTCON2 needs set to do what you want then set the bits needed, otherwise you can leave it alone.
They are separate registers.
If INTCON2 needs set to do what you want then set the bits needed, otherwise you can leave it alone.
Dave
Always wear safety glasses while programming.
That looks like it will work.I think after reading the datasheet again this is what I need, can sombody please confirm?
Dave
Always wear safety glasses while programming.
Last part of the interrupt question:
In the PBP manual it says: on interrupt goto lable.
Do i have to check in the lable for state on port INT0 INT1 INT2 example:
On interrupt goto led
Code:LED: IF PORTB.0 = 1 Then GOTO LED100 ELSE IF PORTB.1 = 1 Then GOTO LED200 ELSE IF PORTB.2 = 1 Then GOTO LED300 ENDIF
Yes, something like that...
I am feeling lazy so read these
http://www.picbasic.co.uk/forum/show...4775#post54775
http://www.picbasic.co.uk/forum/show...8511#post18511
Dave
Always wear safety glasses while programming.
Bookmarks