execuc / u2if

USB to interfaces implementing MicroPython "machine" module functionalities on a computer.
Other
152 stars 26 forks source link

How to use more than one PICO at the same time #14

Open DJ-Dingo opened 1 year ago

DJ-Dingo commented 1 year ago

I have been using u2if to control a relay through GP (gpio) from my PI3 in a plugin used for another program and it has worked fine. I really like the use of this project thanks for this.

Now I have another PICO, which does some other things also via GP (gpio), but I cannot control the 2 PICOs separately.

Although I have tried to use the serial numbers for the 2 PICOs, it always chooses the first PICO, or the one with the lowest serial number.

So my question is: Can you not decide from a python script which PICO should receive the information for the GP (gpio). And if you can, what is the procedure for this?