[Gambas-user] Serial Port : Binary

Benoit Minisini gambas at ...1...
Fri Aug 6 13:34:59 CEST 2004


On Friday 06 August 2004 05:02, Budi Arief Gusandi wrote:
> Dear,
>
> How can i send and receive data in binary mode ? I just bought a new
> smartcard reader and there're no ascii command protokol, There are only
> Binary Hexa commands. Can you help me how to send data like 0xBA, 0x2D etc
> ? Sending it using ASCII doesnt work.
>

It should...

You have PRINT to send strings, and WRITE to send binary data. See the wiki 
for more information about WRITE.

Regards,

-- 
Benoit Minisini
mailto:gambas at ...1...




More information about the User mailing list