[Gambas-user] serial ports
Shane
shanep1967 at ...169...
Mon Jun 1 14:20:09 CEST 2015
Thanks heaps this is exactly what i wanted.
just one thing i get some 30 odd ttys's and I'm sure there all not
usable serial ports but this is not a problem for me i can just use the
ones with values
also i would have thought that a filter of 'tty[ACM|USB]*' would stop this
On 01/06/15 21:55, Ron wrote:
> https://domotiga.nl/projects/domotiga/repository/revisions/master/entry/DomotiGa3/.src/Util.module#L218
>
> Where argument are '/dev/', 'tty[ACM|S|USB]*'
>
> Regards,
> Ron.
>
> 2015-06-01 13:31 GMT+02:00 Benoît Minisini <gambas at ...1...>:
>> Le 01/06/2015 12:23, Shane a écrit :
>>> what would be the best way to make a list of available serial ports in a
>>> gambas program?
>>>
>>> thanks Shane
>>>
>> Does anyone have an idea?
>>
>> ls /dev/lp* maybe?
>>
>> --
>> Benoît Minisini
>>
>> ------------------------------------------------------------------------------
>> _______________________________________________
>> Gambas-user mailing list
>> Gambas-user at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gambas-user
> ------------------------------------------------------------------------------
> _______________________________________________
> 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