From: Sean K. <se...@gm...> - 2015-02-11 22:55:38
|
Hi all, I apologize for my last email, I accidentally sent it without finishing. I am currently trying to use PyUSB to interface with microcontroller in order to automate some functionality. There is firmware written and working for the micro. However, I'm running into some problems implementing the test script provided at the tutorial here: https://github.com/walac/pyusb/blob/master/docs/tutorial.rst I brought the test script into an editor, and changed the vendor and product id, as well as the test string sent (I changed 'test' to 'V L', which will light an LED on my development board). When I run the script via powershell (Windows 7 64bit), I get the following traceback error: PS C:\...\PyUSB Dev> python simpletestscript.py Traceback (most recent call last): File "simpletestscript.py", line 27, in <module> assert ep is not None AssertionError PS C:\...\PyUSB Dev> I don't understand enough about the library to really understand why I would be receiving that error. If anyone has any idea what might be causing the issue, or a direction to point me in, I would greatly appreciate the help. Thanks. -Sean |