I've got the RGB hooked up and I'm running the DigiRGB.py script. It was working great until I decided to change the way the digispark worked based on the value given (transition slowly from one color to the next). For some reason after making a few changes it stopped working, I get a usb error below:
Traceback (most recent call last):
File "C:\Users\schasse\Documents\My Dropbox\arduino-1.0.3\digiblink\DigiRGB.py", line 100, in
theDevice.write(ord("s"))
File "C:\Users\schasse\Documents\My Dropbox\arduino-1.0.3\digiblink\arduino\usbdevice.py", line 68, in write
[]) # ignored
File "C:\Users\schasse\Documents\My Dropbox\arduino-1.0.3\digiblink\arduino\usbdevice.py", line 90, in _transfer
value)
File "C:\Python27\lib\site-packages\usb\core.py", line 695, in ctrl_transfer
self.__get_timeout(timeout)
File "C:\Python27\lib\site-packages\usb\backend\libusb01.py", line 523, in ctrl_transfer
timeout
File "C:\Python27\lib\site-packages\usb\backend\libusb01.py", line 384, in _check
raise USBError(errmsg, ret)
usb.core.USBError: [Errno None] libusb0-dll:err [control_msg] sending control message failed, win error: The I/O operation has been aborted
because of either a thread exit or an application request.
Looks like the digispark is dying somehow when trying to change the color. If I knew how to debug the digispark itself then I could try to see where it is dying. Any advice?