Closed nickvanderstel closed 7 years ago
You need to add the following piece of code:
from pyftdi.ftdi import Ftdi
Ftdi.add_custom_product(Ftdi.DEFAULT_VENDOR, 0x8a98)
before the first call to
GpioController().open_from_url(url, ...)
I should probably add this kind of example to the PyFtdi documentation
That did the trick. Thanks!
Documentation have been updated in v0.25.3 to make this customization API more explicit.
I see that the Ftdi class has a method to add a device with a custom PID, but how can I use the GpioController class with this device? I have a FT2232H but the PID is 0x8a98 so I'm getting the following error: