PIC serial port tester

01 works

02 tidied up