Nice work on all that stuff Ted. Love the 1802 projects, C compiler and all! Wow. Let me know if you want a better web host than geocities. E.g. no ads. -- James. -----Original Message----- From: piclist-bounces@mit.edu [mailto:piclist-bounces@mit.edu] On Behalf Of trossin Sent: Wednesday, March 12, 2008 11:13 To: piclist@mit.edu Subject: Re: [PIC] Transfering data from PIC directly to C program via RS232 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-RS 232-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 -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist