So something like this?
myint:
if INTCON.0 = 1 then LED1 = 1
if INTCON2.0 = 1 then LED2 = 1
if INTCON3.0 = 1 then LED3 = 1
Resume ' Return to main program
Enable
So something like this?
myint:
if INTCON.0 = 1 then LED1 = 1
if INTCON2.0 = 1 then LED2 = 1
if INTCON3.0 = 1 then LED3 = 1
Resume ' Return to main program
Enable
Maybe this will help
http://www.picbasic.co.uk/forum/cont...USB-SD-LOGGING
Dave
Always wear safety glasses while programming.
Yes, but don't forget to clear the interrupt request flag for the interrupt in question before you RESUME.So something like this?
/Henrik.
Bookmarks