' PicBasic Pro program to send and receive from the hardware serial port char var byte ' Storage for serial character start: Hserout ["Hello World", 13, 10] ' Send text followed by carriage return and linefeed loop: Hserin 10000, start, [char] ' Get a char from serial port Hserout [char] ' Send char out serial port Goto loop ' Do it all over again End