B&B Electronics Parallel Printer Card PIOC Manuale Utente Pagina 49

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 64
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 48
GHI Electronics,LLC USBwiz User Manual
USBwiz Command Set
PP - Send Data to USB Printer to print
Format PP<SP>p>ss<CR>
!00<CR>
Data to Print
!00<CR>
p is the USB port number
ss data size, max of 255 bytes
Example PP<SP>1>C<CR>
!00<CR>
Hello<SP>World!
!00<CR>
Send C bytes to USB port 1
US - Register Serial Communication Device
USBwiz has an internal Serial Driver. This command must be used before accessing
these devices.
Format US<SP>p>t>bbbbbbbb<CR>
!00<CR>
p is the port number
t is type of the serial device. It can be
C for CDC
S for Silabs
P for Prolific
R for Prolific version 2
F for FTDI
bbbbbbbb is the baudrate in
hexadecimal
Example US<SP>1>C>2580<CR>
!00<CR>
Register USB CDC device on port 1 with
baudrate 9600
SR - Read Serial Device
Reads data from device.
Format SR<SP>p<CR>
!00<CR>
$ss<CR>
ss bytes
!00<CR>
Read serial device on port p
Data size is HEX byte ss
Example SR<SP>0<CR>
!00<CR>
$06<CR>
Hello!
!00<CR>
Read serial device on port 0
The device has 6 bytes Hello!
SW - Write to Serial Device
Format SW<SP>p>ss<CR>
!00<CR>
p is the port number
ss is data size to be sent
Rev.2.27 Page 49 of 64 www.ghielectronics.com
Vedere la pagina 48
1 2 ... 44 45 46 47 48 49 50 51 52 53 54 ... 63 64

Commenti su questo manuale

Nessun commento