libftdi Archives
|
From: | tux gurl <tuxgurl4@xxxxxxxxx> |
---|---|
To: | libftdi@xxxxxxxxxxxxxxxxxxxxxxx |
Date: | Thu, 31 May 2012 10:49:42 -0400 |
Hello there! I've been trying to read the pins on my UM232R using libftdi v0.20 and I am not having any luck. Can someone point me in the right direction? This is a snippet of my current code and the error that pops up:
pins = ftdi.new_ucharp() ftdi.ftdi_read_data(ftdic, pins, 1) print hex(ftdi.ucharp_value(pins)) Traceback (most recent call last): File "./test.py", line 54, in <module> ftdi.ftdi_read_data(ftdic, pins, 1) TypeError: in method 'ftdi_read_data', argument 2 of type 'unsigned char *' Any help would be greatly appreciated!
libftdi - see http://www.intra2net.com/en/developer/libftdi for details. |
Current Thread |
---|
|