Datasheet

Note that there are other libraries you might consider using for I2C communication with the FT232H. You can
use libmpsse (http://adafru.it/df5) to speak the I2C protocol from C or Python code. See this guide on using a color
sensor (http://adafru.it/jFw) for more information and code to use libmpsse and an I2C device.
Another alternative is the libMPSSE-I2C library that uses the FTDI D2XX drivers. See this application note for more details on
using libMPSSE-I2C (http://adafru.it/eaT).
I2C Device Enumeration
You can run the following script to enumerate all possible I2C devices, kind of like the i2cdetect command on Linux. The script
works by enumerating each possible I2C address (ignoring a few reserved ones) and checking if any device on the bus sends an
ACK for the address.
import Adafruit_GPIO.FT232H as FT232H
# Temporarily disable FTDI serial drivers.
FT232H.use_FT232H()
# Find the first FT232H device.
ft232h = FT232H.FT232H()
print 'Scanning all I2C bus addresses...'
# Enumerate all I2C addresses.
for address in range(127):
# Skip I2C addresses which are reserved.
if address <= 7 or address >= 120:
continue
# Create I2C object.
i2c = FT232H.I2CDevice(ft232h, address)
# Check if a device responds to this address.
if i2c.ping():
print 'Found I2C device at address 0x{0:02X}'.format(address)
print 'Done!'
© Adafruit Industries https://learn.adafruit.com/adafruit-ft232h-breakout Page 33 of 36