Re: [fpc-pascal] fpc and serial port

2009-10-27 Thread Carsten Bager
> May I have a few examples to access /dev/ttyS* using fpc? - {$mode objfpc} {$LONGSTRINGS OFF} Unit uSio; Interface Type DataBuffer_typ=packed array[0..4095] of char; SendPacket_typ=Procedure(var b:DataBuffer_typ; len:long

Re: [fpc-pascal] fpc and serial port

2009-10-27 Thread papelhigien...@gmail.com
2009/10/27 Nataraj S Narayan > Hi > See: http://www.synapse.ararat.cz/ (synaser) and http://sourceforge.net/projects/pascalscada/ Regards, Fabio > > May I have a few examples to access /dev/ttyS* using fpc? > My purpose is to connect my Arm handheld to a thermal printer > connected to /de

[fpc-pascal] fpc and serial port

2009-10-27 Thread Nataraj S Narayan
Hi May I have a few examples to access /dev/ttyS* using fpc? My purpose is to connect my Arm handheld to a thermal printer connected to /dev/ttyS0. Presently, having a tough time using Qt Serialport classes in C++. I need to read and write same time, keep on parsing the input stream and respond