If you are using an interrupt handler to receive the serial data, then nothing else can happen until the handler is finished.
If other things must continue operating at the same time, you either have to read the serial data 1 byte per interrupt, or have the HSERIN statement in the main loop so that it can be interrupted like everthing else.
Sitting in the handler WAITing for the data, will not work.
<br>
Bookmarks