FTDI Community

General Category => Discussion - Hardware => Topic started by: krish_iyer on June 18, 2020, 04:22:41 AM

Title: UMFT4222EV: Configuring GPIO in INPUT mode
Post by: krish_iyer on June 18, 2020, 04:22:41 AM
Hope you are well and safe in this pandemic crisis.

Actually, I was trying example code to configure GPIO in input mode but unfortunately it is not working. I am using UMFT4222EV. I have linked my code[1]. Also while configuring GPIO2 in input mode does turn of the on board LED because LED is connected to GPIO2 but anyhow it's not able to read.

Chip rev: FT4222 A
MODE: Mode 0
OS: Ubuntu 18.04(Linux)
lib version: 1.4.4.9
cc  version: 7.5.0
Thanks,

[1]: https://gist.github.com/krish-iyer/13a36029c8df7a888b4a83fdd05690a3