<< return to Pixycam.com

Multiple Pixy2s on libpixyusb and Python


#1

I’d like to connect two Pixy2’s to a single Pi3B+ and use one for object detection and one for line tracking. I’ve seen other threads saying that it’s possible in C++ by modifying some code but wondering if this can be done in Python?

I also read that the first time you run pixy.init() it will grab “the first Pixy2” and the second time it will grab “the second one” as defined by some unknown method such as bus address. Has anyone tried that method? Is there any way in Python to retrieve information about the pixy to figure out which one it is?