Controlling GPIO in CP210x C#
问题 I need to control the GPIO pins of a CP210x device using CP210xManufacturing.dll and CP210xRuntime.dll provided by Silicon Labs. I manage to open and close the device and to get the part number. (In my case a CP2105). I think I successfully read the latch, but I'm not sure. I also call the write latch function, and no error is returned and neither do any pins toggle. According to the provided utility (CP21xxCustomizationUtility.exe) it shows that both ports are in GPIO mode. Here is my code: