Hello,
Would you guys please add a serial communication tutorial in this wiki page:
http://wiki.lazarus.freepascal.org/index.php/Hardware_Access#Serial_Communication
I wrote the parallel part of the tutorial, but I know nothing about
serial comm and I would be very thankful =)
thanks,
--
Felipe
Resending second time, was blocked again:
Am Samstag, den 11.03.2006, 12:26 +0100 schrieb Marco van de Voort:
> > Note the line in pascal saying "c_line: char" which is missing in the
> > systems declaration. This is an error, insn't it?
>
> I think so. Can you verify that it works with that lin
Resending, was blocked:
Am Samstag, den 11.03.2006, 12:26 +0100 schrieb Marco van de Voort:
> > Note the line in pascal saying "c_line: char" which is missing in the
> > systems declaration. This is an error, insn't it?
>
> I think so. Can you verify that it works with that line commented?
It l
> Note the line in pascal saying "c_line: char" which is missing in the
> systems declaration. This is an error, insn't it?
I think so. Can you verify that it works with that line commented?
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
h
Hi again,
from trying and decoding error messages I know the call to tcsetattr
fails with an invalid input. The problem is caused by trying to set the
field termios.c_ospeed, if left out the call is successfull. So I went
the way trough the sources and have found something.
On FreeBSD 4.11 termio
Am Freitag, den 10.03.2006, 17:06 +0100 schrieb Michael Van Canneyt:
>
> On Fri, 10 Mar 2006, Sebastian Günther wrote:
>
> > Marc Santhoff schrieb:
> >>
> >> Maybe I have looked at it for too long, where is the problem?
> >
> > just by the way, there is a unit called 'serial' in Free Pascal. Per
Am Freitag, den 10.03.2006, 16:46 +0100 schrieb Sebastian Günther:
> Marc Santhoff schrieb:
> >
> > Maybe I have looked at it for too long, where is the problem?
>
> just by the way, there is a unit called 'serial' in Free Pascal. Perhaps
> you might want to use this one, or at least have a look
On Fri, 10 Mar 2006, Sebastian Günther wrote:
Marc Santhoff schrieb:
Maybe I have looked at it for too long, where is the problem?
just by the way, there is a unit called 'serial' in Free Pascal. Perhaps you
might want to use this one, or at least have a look at the source code...
Bette
Marc Santhoff schrieb:
Maybe I have looked at it for too long, where is the problem?
just by the way, there is a unit called 'serial' in Free Pascal. Perhaps
you might want to use this one, or at least have a look at the source
code...
Regards,
Sebastian
__
Hi,
I'm trying to use a serial port at 1200baud, 7N2 with this code
sequence:
fCom := fpOpen('/dev/cuaa0', O_RDWR OR O_NOCTTY );//OR O_NONBLOCK);
if (fCom < 0) then begin
writeln(stderr, 'Couldn''t open serial port.');
halt(1);
end;
r := 0;
fillchar(tios, sizeof(tios), #0);
cfs
10 matches
Mail list logo