Felipe Monteiro de Carvalho schrieb:
It may be useful to know that there is a serial communication example
using Synaser here:

http://wiki.lazarus.freepascal.org/Hardware_Access#Serial_Communication
Yes, thank you. I checked this out. The procedure reccvbyte, as used in this manner:

Write(IntToHex(ser.RecvByte(1000), 2), ' ');

reads every incoming character as zero. Simply, is does not work.
It's much easier to use then using the lower level routines yourself.

I try to implement a direct port access. If this also leads to access errors, I should give it up. Embarassing.

Holger



_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to