Listening to a Serial Port on Delphi 7

I am trying to write a program that will listen to serial input from an Arduino board connected via usb and send the output to the serial port (COM4). But I do not know how to get input from the serial port in Delphi. I need a program to listen on the port, and whenever an input arrives, it must respond to it. Any suggestions?

+5
source share
3 answers

http://sourceforge.net/projects/tpapro/ is a free tool that we have used with great success over the years.

+10

tpapro, , , TComport, . onrxchar, , ( , ASCII linediscipline).

, mcus.

+5

I have used the Comport library for WinSoft for many ... years. This is excellent (0 errors) and works with any version of windows.

Link: http://www.winsoft.sk/comport.htm

0
source

All Articles