UsbWriteUTF connection, data$

This command writes 16 bit unicode characters to a specified USB serial connection. This is a good function for sending UTF-8 string records. The UsbReadUTF command should be used to receive a strings sent by a UsbWriteUTF.

UsbWriteUTF 1, data$

err$ = UsbGetError$(1)
if err$ <> "" then Print "Err: "; err$
if UsbGetState(1) <> 1 then Print "Connection Lost"

USB Serial Communication

Become a Patron