UART Interrupt not working (V4.5)
Posted: Wed Oct 31, 2012 12:07 pm
Hi,
I can't seem to get the UART interrupt working (see attached code) in V4.5. If I put the IF statement in RxInt into the main loop and don't use the interrupt all works well. Unfortunately I need it to work from the interrupt fot the next stage. I have tried manually setting Intcon, PIE1 and PIR1 to no avail. Any ideas please?
Thanks,
Dave.
I can't seem to get the UART interrupt working (see attached code) in V4.5. If I put the IF statement in RxInt into the main loop and don't use the interrupt all works well. Unfortunately I need it to work from the interrupt fot the next stage. I have tried manually setting Intcon, PIE1 and PIR1 to no avail. Any ideas please?
Thanks,
Dave.