![]() to get a good understanding between classes, methods, the whole Lazarus-IDE etc. If the value of the Timeout parameter is set to -1, the function returns only after it detects data on the port (this may cause the process to hang).Ĭonfig ( 9600, 8, N, SB1, False, False ) wait for data test Waiting Data if SerialPort.Īlltought I did some programming in Delphi years ago, I need a good base.Į.q. ![]() If the value of the Timeout parameter is 0, the status is tested only once and the function returns immediately. Status is tested for a period of time given by the Timeout parameter (in milliseconds). I understand, the code will need a time out to prevent endless checking for data. Lazarus Receive: stIn: serial.ReadData string-IN: always 6 bytes long (send by Arduino). This value is ok, has been send by Arduino.
0 Comments
Leave a Reply. |