USING IT
YKUSH 3
Yepkit USB 3.1 Switchable Hub
USING YOUR
YKUSH 3
The command structure
[ ] → Optional
< > → Variable
option
:
u
Turns up/on the downstream port with number
port_number
d
Turns down/off the downstream port number
port_number
g
Gets the status of the downstream port number
port_number
l
List the serial number of the connected boards
on
Turns ON the 5V power output
off
Turns OFF the 5V power output
w
Write GPIO
r
Read GPIO
c
Configure port default state
reset
Reset device
port_number
:
1
Downstream port 1
2
Downstream port 2
3
Downstream port 3
a
All downstream ports
e
Additional 5V switchable power output
value
Value to be written/used
The [
-s
serial_number
]
parameter is optional and only relevant when more than one YKUSH 3 board is connected
to the same host. This option addresses a specific board with the unique serial number
serial_number.
Note that in Windows operating system the command is
ykushcmd.exe
instead of
ykushcmd
.
5
Now that everything is set up you can start using the full capabilities of YKUSH 3. If you are using our software
(ykushcmd), the commands have the following structure and options.
ykushcmd ykush3 [-s
serial_number
] -<
option> <port_number>
[
value
]