I'm working with 18F6720 and RN171 (WiFly). I need send commands to RN171 with Uart.

Then I send

serout PORTC.6,N9600,["$$$"]

and RN171 don't reply

but if i send

DEFINE HSER_BAUD 9600
hserout ["$$$"]

then RN171 reply CMD (OK).

Where is the problem?? SEROUT and HSEROUT don't work equally??


best regards