27 lines
1.1 KiB
Plaintext
Executable File
27 lines
1.1 KiB
Plaintext
Executable File
===============================================================================
|
|
USBHub3c Serial C++ Example Readme
|
|
===============================================================================
|
|
|
|
This is a basic C++ example for the USBHub3c over serial communication.
|
|
When executed, this example disables, and then re-enables each of the downstream
|
|
device ports on the hub. This example also reads the VBus and VConn voltage and
|
|
current of each port. Plug a device or two in to see the results.
|
|
|
|
Notes:
|
|
===============================================================================
|
|
|
|
# The hub must have the baudrate set to 115200 and serial coms set to BrainStem
|
|
|
|
# To build, copy the lib directory into this directory. The lib directory contains
|
|
the required header files, and the Brainstem2 shared object file.
|
|
|
|
# The output directory is linux_BrainStem2Example/Debug.
|
|
|
|
# A build step has been added to the project that copies the shared object into
|
|
the build output directory. In addition the runpath is updated to search in
|
|
the same directory as the executable.
|
|
|
|
If you have questions, please see the reference, or check out our guides
|
|
at www.acroname.com.
|
|
|