The USART in the 18's is pretty simple to set-up and use. It would probably be just as fast to read section 15 in the data sheet and write, as it would be to adapt someone else's little snippet...The best thing about the 18's is that they are so simple to write for. Chris > Hello: > > I am programming a pic18c452 and I want to use the Serial Peripheral > Interface (SPI). > Anyone knows where can I find some source code? > > Thank you, > Carlos -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu