In Appendix A of Microchip's app note AN774 it says: > APPENDIX A: PIC16F877 CODE EXAMPLES > The source code files for Appendix A are available as a WinZip archive > file in the Application Notes section of the Microchip Technology > website: > [...] > P16_TIRI.ASM - Use interrupts for transmit and receive, Circular > buffers, Eight bit data > P16_TPRP.ASM - Poll for transmit and receive, Simple buffers, Eight > bit data > P16_TWRP.ASM - Poll to receive, Wait to transmit, No buffers, Eight > bit data > P16_2STP.ASM - Poll to receive, Wait to transmit, No buffers, Eight > bit data, Two STOP bits > P16_PRTY.ASM - Poll to receive, Wait to transmit, No buffers, Eight > bit data, Even parity bit I can't for the life of me find this code on their site. There only seems to be 10 PIC18CXXX examples up there. Is there some other well-hidden area of the site where more code example exist? -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics