In message <97060107300835355@shades.nildram.co.uk> PICLIST@MITVMA.MIT.EDU writes: > Hi everyone, > > I've just got a PIC program up and running to drive > two RC servos and an LCD display and talk to the PC > via RS232. Question is, how the heck do you talk to > the serial port from the PC (eg. in Pascal). I know > how to read/write to the parallel port - just simply > do a "Port[$***] := whatever". But how's about the > serial port? Can anyone help me out on this? I always use a program library called RTK (Real Time Kernal) which I just link in with my normal C programs. This kernel takes over all the overheads and give you a nice clean interface to you serial ports. To use it you only have to link in one small library, and you've got easy access to the serial port. RTK also offers a whole range of other usefull real time features. Rgds Werner -- Werner Terreblanche http://www.aztec.co.za/users/werner wterreb@plessey.co.za (work) OR werner@aztec.co.za (home) Plessey SA, PO Box 30451,Tokai 7966, Cape Town, South Africa or at home : Suite 251, PostNet X5061, Stellenbosch, 7599 Tel +27 21 7102251 Fax +27 21 7102886 Home +27 21 8872196 ------------------------------------------------------------