Hello Jonathan,
On 03/13/2010 05:20 PM, Jonathan Moreton wrote:
> I am using the python bindings for libftdi what type do i need to set
> the buf to when using ftdi_write_data as I get
>
> TypeError: in method 'ftdi_write_data', argument 2 of type 'unsigned
> char *'
I found a small piece of python code using the wrapper
on this german speaking website:
http://www.auxnet.de/blog/blog-post/2010/02/23/usb-geraet-per-libftdi-in-c-und-python-ansprechen-debianubuntu.html
Scroll down for the code. Maybe it helps.
Cheers,
Thomas
--
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx
|