On Thursday, 19. January 2012 22:07:33 Chris Zeh wrote:
> At that time, you were required to create a pointer wrapper in order
> to do reads from the device, like so:
> #Read the Pins (Bitbang mode)
> pins = ftdi.new_charp()
> ret = ftdi.ftdi_read_pins(ftdic,pins)
> print ftdi.charp_value(pins)
>
> I vaguely remember seeing a message from someone who really knew SWIG
> well and may have revamped the Python stuff. So, hope that helps, but
> it may be completely irrelevant at this time :-)
Maybe Michel knows something, he's the swig wizard. CC:ed.
Thomas
--
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx
|