diff --git a/Adafruit_GPIO/FT232H.py b/Adafruit_GPIO/FT232H.py
index <HASH>..<HASH> 100644
--- a/Adafruit_GPIO/FT232H.py
+++ b/Adafruit_GPIO/FT232H.py
@@ -185,7 +185,10 @@ class FT232H(GPIO.BaseGPIO):
         #else:
         #	logger.debug('Modem status error {0}'.format(ret))
         length = len(string)
-        ret = ftdi.write_data(self._ctx, string, length)
+        try:
+            ret = ftdi.write_data(self._ctx, string, length)
+        except TypeError:
+            ret = ftdi.write_data(self._ctx, string); #compatible with libFtdi 1.3
         # Log the string that was written in a python hex string format using a very
         # ugly one-liner list comprehension for brevity.
         #logger.debug('Wrote {0}'.format(''.join(['\\x{0:02X}'.format(ord(x)) for x in string])))
Allow basic support for libFTDI<I>

Between libFTDI versions <I> and <I>. The largest difference is a simple syntax difference on one function, where they removed one of the three arguments. Simply try the one for <=<I>, and if that throws a TypeError, try the syntax for <I>+



here is a screenshot:

<URL>