You can not read *ANYTHING* with MPLAB and C18 on a "PC" ! Jan-Erik. srinil@katuns.org wrote: > Hi, > > > > How I can read data from my PC COM1 port using MPLAB and C18(using C > programming language) > > 1. is it possible to use inline assembly to read COM1 port using MPLAB, > > beacause i couldn't find any library function in MPLAB that used to read > > COM1 port of a PC > > 2.my virtual gps is conected to COM2(COM1 and COM2 connected using > virtual serial port kit). > > > > > regards > srinil kumar -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist