I am in need of 2.5 serial ports on the 18F1320, (1) RS-232, (1) RS485,=20 and (1) Serial LCD, Tx only). The RS-232 would be the hardware USART,=20 and the others would be Software Uart's. I understand the part of=20 modifying the specific Library files, and rebuilding after revising the=20 PORT numbers. Here's the approach I'm thinking: 1: Copy 2 sets of the library sw_uart files to the project directory. 2: Rename one of the sets of files, say append "_2". 3: On the first set of files change the ports, function, and file=20 references to match the first UART. 4: On the 2nd set of files do the same. 5: Rebuild both sets of library files. 6: There will be 2 sets of function calls with different names A couple of questions: 1: Is there a way to economize on code size? I'm thinking that could add=20 an arguement to the functions where need be to specify which software=20 ports we are pointing. 2: I haven't looked in detail, but, I'm assuming not all of the=20 sw_uart's files are port dependent, and will have no changes. Since they=20 are small and storage in project directory isn't an issue, is there a=20 reason to rebuild them, or will they just come along for the ride? Thanks for comments. :) --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .