[Gambas-user] Serial ports in Gambas

Robert JUHASZ robert1juhasz at ...626...
Mon Nov 23 06:22:10 CET 2009


Hello,

In the examples you find one for the serial port: Open Example \ Networking
\ SerialPort. It shows the basics.

You can send commands from your code (by taking them for example from a
textbox filled by the user) with PRINT or WRITE, you can read from the
serial port with READ.

Regards, Robi

2009/11/23 Kari Laine <klaine8 at ...626...>

> Hi,
>
> after not being active with Gambas for some time now. I am thinking of
> making a program with it.
>
> I am learning products from http://www.byvac.com especially the BV513,
> which is PIC-based microcontroller programmed in basic.
>
> The sofware from Byvac is for Windows only. I tried with minicom but
> it sends something weird to BV513 so it does not work. So my need is
> to write a simple terminal program. For that I need serial port
> support - is there that in Gambas? I looked at the examples and could
> not find any example.
>
> What control should I use as central control where user types commands
> and results which are received from the device are printed?
>
> Sorry for these stupid questions.
>
> Best Regards
> Kari Laine
>
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus
> on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>



More information about the User mailing list