UsbWrite connection, data$

This command writes data bytes to a USB serial connection. It is important to note that only the lower eight bits of each character is written to the USB serial connection. The strings being written should be thought of as containing bytes.

UsbWrite 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