Re: Driving COM ports
- Posted by Irv Mullins <irvm at ellijay.com> May 02, 2001
- 423 views
On Wed, 02 May 2001, Andy Drummond wrote: > Hello there you Euphoric people. > I have just written a moderately big database program in Euphoria with > Win32Lib using the IDE. So far so good. But there seems to be no support > for driving the serial ports of the PC. I have some code I have got off > the EU site but that is just giving me access to the 16550 UARTs so I > can push and pull bytes to it. I have to use a timer interrupt to test > for received bytes. Not nice. > Does anyone have a clean-ish package to drive the COM ports with > interrupt I/O, so it can be driven as if a system character device? Or > does anyone know where I can get one .... etc etc. > Thanks > Andy > There's a much simpler explanation, written for Delphi, using Win32 calls, which should be fairly easy to translate to Euphoria: http://www.innotts.co.uk/~zephyr/serial.html Regards, Irv