Coder Social home page Coder Social logo

Comments (7)

mpi3d avatar mpi3d commented on July 19, 2024

Which line did you execute?

from robotic-arm-control.

Werner-G avatar Werner-G commented on July 19, 2024

I just executed the example.py, and I showed the error log from THONNY. But the mistake is probably the wrong driver: I cannot find the Adafruit_PCA9685.py, just an generic PCA9685.py. Can you please publish your driver?

from robotic-arm-control.

mpi3d avatar mpi3d commented on July 19, 2024

I think it's this one: https://github.com/adafruit/Adafruit_CircuitPython_PCA9685

from robotic-arm-control.

Werner-G avatar Werner-G commented on July 19, 2024

Oh, this is Circuit Python, not Micropython. I have no idea how to use this driver. Any chance to rework your control to Micropython using a 'standard' driver like
https://github.com/adafruit/micropython-adafruit-pca9685/blob/master/pca9685.py

Thank you!

from robotic-arm-control.

mpi3d avatar mpi3d commented on July 19, 2024

This driver is depreciated. You should use the Circuit Python one instead. It should work on a normal Python too.

from robotic-arm-control.

Werner-G avatar Werner-G commented on July 19, 2024

No, it cannot, see the preamble of the 'adafruit_pca9685.py'-driver: :

from adafruit_register.i2c_struct import UnaryStruct
from adafruit_register.i2c_struct_array import StructArray
from adafruit_bus_device import i2c_device

Maybe your driver only work with a RasPi, and not with ESP32? Please doublecheck your driver, I really need this for my robotic arm.

from robotic-arm-control.

mpi3d avatar mpi3d commented on July 19, 2024

I see. Unfortunately, I don't have time to implement this. You will have to do it yourself. The driver shouldn't be much different from the actual one. Feel free to make a pull request.

from robotic-arm-control.

Related Issues (1)

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.