libmpsse icon indicating copy to clipboard operation
libmpsse copied to clipboard

How can i set AC0~AC7 as input

Open audi0615 opened this issue 1 year ago • 2 comments

Hi. I'm testing FT232H with this library. in GPIO mode, PinHigh, PinLow works fine on AC pins. but i have a problem to set these pins as INPUT. I could not find any functions to change the pin mode to INPUT. SetDirection() is for bit-bang mode. According to the datasheet, all these pins are in tri-state mode by default. does this mean i can use these pins as INPUT without changing mode? Could you please help me how to set AC pins as INPUT?

audi0615 avatar Jun 17 '24 07:06 audi0615

Why don't you use libftdi for that? libmpsse is specifically about utilizing MPSSE.

l29ah avatar Jun 17 '24 18:06 l29ah

I would check the libftdi thanks. But libmpsse works fine only except for unable to change pin mode to input.

audi0615 avatar Jun 17 '24 23:06 audi0615