UmberHubManager/api/examples/c_cpp/BrainStem2-USBC-Switch-Cpp-.../How_To_Build.txt

24 lines
970 B
Plaintext
Executable File

===============================================================================
USBC-Switch C++ Example Readme
===============================================================================
This is a basic C++ example for the USBC-Switch. It demonstrates enabling and
disabling the common port and the selection of mux channels. It also measures
voltage and current.
Notes:
===============================================================================
# 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.