USB HOST Hardware

Phm78

New member
Candy-Router.jpg


Hello everyone,
I am developing a midi router with a Teensy 4.1.
For the midi host, I use the USBHost_t36.h library and my program works well.
I have a question about the hardware, is it possible to have several usb host connectors?
And to assign them to hub1, hub2...? In the following declaration:
// MIDI HOST 1 init
USBHost myusb;
USBHub hub1(myusb);
MIDIDevice_BigBuffer midihost(myusb);
 
the problem with a hub is that the order of the devices is never the same and depends on the order of their connection. So I never know who I'm talking to.
 
Back
Top