GithubHelp home page GithubHelp logo

Comments (6)

descampsa avatar descampsa commented on June 18, 2024

The library should compile fine with SoftwareSerial.h, since it is a standard arduino library.
It will only work on reasonnably recent versions of the IDE, though.
What version are you using?

from ardyno.

pradyum avatar pradyum commented on June 18, 2024

i use arduino 1.8.1 , and i found that arduino due does not have a SoftwareSerial.h library since it has arm m3 32 bit chip . Is there anyway to remove the include line from the library .

from ardyno.

descampsa avatar descampsa commented on June 18, 2024

Ok, then i will add a preprocessor option to disable SoftwareSerial, and disable it by default on due.
For now, you could comment the relevant code manually in the library, it is in DynamixelInterfaceArduinoImpl.h/cpp , in the Arduino/libraries/ardyno/src directory (make sure to update the library to the v0.7 version that i just released).

from ardyno.

pradyum avatar pradyum commented on June 18, 2024

Now i have commented SoftwareSerial.h and other related functions in
DynamixelInterfaceArduinoImpl.h/cpp . But there is another problem , functions setReadMode and setWriteMode are only declared for AVR and Arduino 101 , there is no setReadMode and setWriteMode for ARM.

from ardyno.

descampsa avatar descampsa commented on June 18, 2024

Hmm, yeah, indeed, i have not ported them to arm.
The solution depends of how you connect the motors : if you use tristate buffers with the direction pin, as recommended by robotis, those function are not really needed, and you can just define them empty.

If you connect the rx/tx directly to the motor communication pin, you really need those functions, and need to implement them for arm (which means going into the uart detail in the uc datasheet). If you are interested to implement them, let me know, i will help you the best i can, but i do not have any hardware to test it myself.

from ardyno.

pradyum avatar pradyum commented on June 18, 2024

Thanks it compiled , I am using a tri-state buffer and commented the call functions lines for setReadMode and setWriteMode in DynamixelInterfaceArduinoImpl.h/cpp.

from ardyno.

Related Issues (16)

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.