|
Re: Roborio comms with arduino over USB
USB doesn't really have "ports." The two ports on the roboRIO are basically the same hole, if you will, much like putting a USB hub into one doesn't make 6 new addressable spaces, it's just more holes on the bus.
Your Arduino will show up as /dev/ttyUSB0 or /dev/ttyACM0 in some cases, like a Mega.
The webcam will show up as /dev/video0, then /dev/video1, etc, as you add cameras assuming they're supported in Video4Linux.
The addressing is basically the responsibility of the OS unless you want to get far deeper into USB specs than I have ever bothered.
|