3 #include "BrainStem2/BrainStem-all.h"
28 err = hub.discoverAndConnect(USB);
43 sys.getVersion(&version);
45 std::cout <<
"Version: " << aVersion_ParseMajor(version) <<
"." << aVersion_ParseMinor(version) <<
"." << aVersion_ParsePatch(version) <<
"\n";
47 sys.getSerialNumber(&serial);
49 std::cout <<
"Serial Number: " << serial <<
"\n";
53 hub.usb.setPortDisable(n);