This module provides a simple Serial-Like interface to FT232 chips while still
allowing access to the CBUS pins for controlling simple signals.
Ctypes is used to interface with either FTDI's d2xx library (when available)
or libftdi. In this way this package works on both Windows and Linux (and other
libftdi supported OS's) without needing to mess with the FTDI drivers on windows.
In contrast, pyftdi is more feature rich and also cross platform but requires
special drivers on windows so you can't also use the FTDI chip as a pure
sp = ft232.Ft232(serial, baudrate=115200)
print("Unable to open the ftdi device: %s" % serial)
#You may use sp as you would a Serial object
resp = sp.read(100)
#If you want to use the CBUS pins, you enable them with cbus_setup
# 'mask' is a bitmask which specifies which pins to enable
# 'init' is a bitmask for the initial value for each pin
#Change the current value of all setup pins
TODO: Brief introduction on what you do with files - including link to relevant help section.