[Gambas-user] Output buffer of Serial Port
ivan-kern at freenet.de
Fri Apr 26 08:28:18 CEST 2019
Thanks to everyone, the matter is settled.
The problem was the wrong serial port settings.
Am 26.04.2019 um 07:54 schrieb Mike Crean via User:
> Just read the data in it should empty it.
> Public Rxs As String
> Public Sub Sport_Read()
> Dim Rx As String
> Sleep 0.05
> Read #Sport, Rx, Lof(Sport)
> Rxs = Rxs & Rx
> If Rx = Chr$(13) Then
> '*** Do some thing with the data ****
> TextArea1.Text = TextArea1.Text & Rxs
> Rxs = ""
> End If
> On Thursday, 25 April 2019, 9:10:05 pm AWST, Benoît Minisini
> <g4mba5 at gmail.com> wrote:
> Le 25/04/2019 à 14:55, Ivan Kern a écrit :
> > Good afternoon, everyone.
> > is it possible to empty the output buffer of Serial Port?
> > Greetings, Ivan
> How do you do that in C ?
> Benoît Minisini
> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net
> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]----
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the User