[Gambas-user] Using Serial and Parellel Ports on Gambas 1.0.1

Daniel Campos daniel.campos at ...338...
Thu Jan 20 16:29:27 CET 2005


Prabath Ranasinghe escribió:

>Dear Firends,
>
>I want to send signal and get response frommm RS-232 and LPT ports of my 
>computer.
>
>For example,I want to switch on a relay using a command from my PC.
>
>Please be kind to reply me.
>
>--Prabath
>admin at ...810...
>  
>
To manage the parallel port you can directly open the port as a normal
file (for example /dev/lp0 ) in order to read and write bytes from that
source.

Regards,

D. Campos





More information about the User mailing list