FTDI Community

Please login or register.

Login with username, password and session length.
Advanced Search  

News:

Welcome to the FTDI Community!

Please read our Welcome Note

Technical Support enquires
please contact the team
@ FTDI Support


New Bridgetek Community is now open

Please note that we have created the Bridgetek Community to discuss all Bridgetek products e.g. EVE, MCU.

Please follow this link and create a new user account to get started.

Bridgetek Community

Author Topic: UMFT4222EV: Configuring GPIO in INPUT mode  (Read 84 times)

krish_iyer

  • Newbie
  • *
  • Posts: 3
    • View Profile
UMFT4222EV: Configuring GPIO in INPUT mode
« 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
Logged