??? 05/29/10 11:12 Read: times |
#176285 - Why will jnb RI,$ screw up? Responding to: ???'s previous message |
Erik,
Thanks for sticking with this! OK - not an ISR - but I still need it to work. I know it mixes interrupt driven and non-interrupt driven IO. I inherited this and need to extend it a bit without rewriting the lot... Can you explain a bit more why including jnb RI,$ in the interrupt handler won't work? Actually this does work fine on port 0. I just can't get it to work on port 1. Since interrupts on the port are turned off within the interrupt handler, why can't I use this "wait for RI" approach? Thanks - Rowan |