Jonas Maebe wrote:
Lance Boyle wrote:
Does FPC provide access to USB or RS-232 (COM) ports?
I am interested in trying this on Mac OS X, with a possible port to Windows. (Yes, I'll get a USB-Serial adapter from Keyspan if necessary.)
Plain RS-232 should be fairly simple under Mac OS X once you get such an adapter. They include a driver that creates a device under /dev, which can be used as a regular serial port after you open it from your application (so if you search for generic unix serial port controlling code, it should Just Work).
Maybe <http://developer.apple.com/documentation/DeviceDrivers/Conceptual/ WorkingWSerial/WWSerial_SerialDevs/chapter_1_section_1.html> is useful (converted from C to Pascal).
Regards,
Adriaan van Os
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal