Yup, you want to keep the isr as short as possible; set only the flag.
Then, back in main, check the flag, do the hser, then reset flag.
Also, try adding a label to the main loop and a goto at the bottom.
Robert
Yup, you want to keep the isr as short as possible; set only the flag.
Then, back in main, check the flag, do the hser, then reset flag.
Also, try adding a label to the main loop and a goto at the bottom.
Robert
Bookmarks