Quote Originally Posted by PJALM View Post
Hi all,

I am trying to setup a RF connection between a PC and a PIC using the MaxStream ZigBee modules. If i send a single byte from the PC to the PIC everything is ok but how do I send more then one?

I am using hardware interrupts for the USART and the USART itself only has a 1 byte buffer.

I need a way to capture 10 bytes with the PIC into a buffer array and then process it afterwards.
HSERIN uses the hardware UART, but uses it in a way that's more like the bit-banged method of SERIN. Use the STR modifier to get 10 bytes into an array.