Giter Site home page Giter Site logo

pybusylight's People

Contributors

ericpulvino avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

pybusylight's Issues

Can't seem to talk to the device.

I have a different vendor and product number. I have updated those. but it seems like the device is connecting but it isn't reading my messages. have any ideas? I think it may be in the buffer. is there a reason for the last concatenation in the buffer?

AttributeError: module 'pybusylight' has no attribute 'busylight'

Installed via PIP

Python 3.7.4 (tags/v3.7.4:e09359112e, Jul  8 2019, 19:29:22) [MSC v.1916 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import pybusylight
>>> bl=pybusylight.busylight()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: module 'pybusylight' has no attribute 'busylight'

Can't connect to Busylight

Hi eric

Thank you for your efforts so far. But unfortunately i'm unable to connect to my BusyLight Alpha.
It's always the same error message: ValueError: Device not found

I tried it on the following systems:

  1. RPI 4 with Raspian OS
  2. Pop_OS
  3. Windows with libusb
  4. WSL (following error 8045 segmentation fault (core dumped))

libusb-1.0-0 is installed... What are futher debugging possibilities?

Thanks in advance!

No backend available

When running the test code from the readme, it throws this error:

NoBackendError                            Traceback (most recent call last)
<ipython-input-6-695313e87b17> in <module>()
----> 1 test = pybusylight.busylight()

~//pyBusylight/pybusylight.py in __init__(self, debug)
     18         self.ep = None
     19         self.debug = debug
---> 20         self.__connect_busylight__()
     21         self.red = 255
     22         self.green = 255

~//pyBusylight/pybusylight.py in __connect_busylight__(self)
     27
     28     def __connect_busylight__(self):
---> 29         dev = usb.core.find(idVendor=0x04d8, idProduct=0xf848)
     30
     31         if dev is None: raise ValueError('Device not found')

/usr/local/lib/python3.7/site-packages/usb/core.py in find(find_all, backend, custom_match, **args)
   1261                 break
   1262         else:
-> 1263             raise NoBackendError('No backend available')
   1264
   1265     if find_all:

NoBackendError: No backend available

This is the line that's failing:

dev = usb.core.find(idVendor=0x04d8, idProduct=0xf848)

[EDIT] The above line conflicts with my system's reported product/vendor IDs:

Product ID: 0x3bcd
Vendor ID: 0x27bb

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.