Why do you need a PIC for this ? Just connect the TX and RX line together and you receive the same bytes that are transmitted ;-) Pailoor Aidi Moubhij wrote: > Hi, > I'm looking for code that will allow the 12C508 to receive data serially > from the PC. The 12C508 will store 5 bytes in the buffer after that the > 12C508 will transmit the 5 bytes out back to the PC, then repeat the task > again. > Does anybody have code that do this. Thanks. > Aidi Moubhij > > aidi@mjr.com -- ================================================= For Embedded Controls Solutions and Custom Designs CHIP TECHNOLOGIES - Member, Microchip Consultant Program Bangalore - INDIA Email : chiptech@vsnl.com Webpage : http://business.vsnl.com/chiptech ( updated 16th April 1999 )