Argox PA-20 Basic Programming Manual Manual do Utilizador Página 104

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 143
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 103
PT-Basic Programming Manual Ver. 1.00 103/143
3.20 USB commands
USB_OPEN
Purpose
To initialize and enable USB port.
Syntax
USB_OPEN
Example
USB_OPEN
Description
Using USB_OPEN command can initialize and enable the
USB port.
USB_CLOSE
Purpose
To close the USB port.
Syntax
USB_CLOSE
Example
USB_CLOSE
Description
Using USB_CLOSE command can disable and suspend the
USB port.
USB_READ$
Purpose
To read specific number of bytes from USB port.
Syntax
A$=USB_READ$(N%)
Example
KEY$=USB_READ$(1)
Description
A$ is a string variable to be assigned to the data.
N% is an integer variable indicating number of bytes to be
read from USB port.
USB_WRITE
Purpose
To write specific number of bytes to the PC side.
Syntax
USB_WRITE(A$ , N%)
Example
USB_WRITE(A$,100)
Description
A$ is a string variable indicating the data is to be sent.
N% is an integer variable indicating number of bytes to be
writen to USB port.
Vista de página 103
1 2 ... 99 100 101 102 103 104 105 106 107 108 109 ... 142 143

Comentários a estes Manuais

Sem comentários