I wrote a C++ class to control RS-232 under Win32 (windows 95,98,NT,XP ..). You could rip out the guts and have pure C and get it to work fine. Check out: http://www.geocities.com/ted_rossin/Electronics/Pic/Pic.html http://www.geocities.com/ted_rossin/Electronics/Pic/Pic.html Find or scroll down to the "Serial Port PIC Boot Programmer" project and get the file common.zip I have code for windows and HP-UX (HP unix) in there. You basically, do an open with the COM port of your choice then do reads or writes then close the port when you are done. The source for the project uses this code. Good luck. sidiabale wrote: > > Hi, > > I need to transfer the contents on an array from my PIC87F877A directly to > my C program. Right now am able to receive the data via Hyperterminal > using putchar(), etc but I need it directly in my C program. > > Thanks > -- View this message in context: http://www.nabble.com/Transfering-data-from-PIC-directly-to-C-program-via-RS232-tp15976653p16011143.html Sent from the PIC - [PIC] mailing list archive at Nabble.com. -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist