Hey FPC fanatics,
I need to read 2 comports at the same time on a Raspberry 3 in the console.
PXL works fine, but does have a Read procedure in it that stops in the line.
Sdpo works fine, but i can not run it by two
i need to open:
/dev/ttySOFT0
/dev/serial0
both at 4800 Baud
So i need some native code to do this. With keep running like:
if sdpo.DataAvailable thens S:=sdpo.ReadData;
so it does not wait for a receive string.
Anybody have native code to help me out? Or another component ?
Greetz, Wouter van Wegen PascalByThree