GithubHelp home page GithubHelp logo

arduino-library-braccio's People

Contributors

andrea07 avatar astronomer80 avatar facchinm avatar riccardofranzoso avatar sergiotomasello avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

arduino-library-braccio's Issues

Support for other pins than the default

Would it be possible to support other pins than the default one?


I see that the function you use to begin the Braccio is

In Braccio.cpp

unsigned int _Braccio::begin(int soft_start_level) {

In Braccio.h

unsigned int begin(int soft_start_level=SOFT_START_DEFAULT);

In the code I see

#define SOFT_START_CONTROL_PIN 12
base.attach(11);
shoulder.attach(10);
elbow.attach(9);
wrist_rot.attach(6);
wrist_ver.attach(5);
gripper.attach(3);

Would it be possible to have

In Braccio.cpp

unsigned int _Braccio::begin(int soft_start_level, int pinStart=12, int pinbase=11,int pinShoulder=10, int pinElbow=9, int pinWrist_ver=5, int pinWrist_rot=6, int pinGripper=3) {

In Braccio.h

unsigned int begin(int soft_start_level=SOFT_START_DEFAULT, int pinStart, int pinbase,int pinShoulder, int pinElbow, int pinWrist_ver, int pinWrist_rot, int pinGripper);

Would it be possible to support a "PIN_DISABLED" field to support things like

_Braccio.begin(SOFT_START_DEFAULT, 12, PIN_DISABLED,PIN_DISABLED, 9, 5 PIN_DISABLED, 3) {

That could be used to avoid the initial setting of the arm.

Would it be possible to support a "DONT_CHANGE" field to support things like

Braccio.ServoMovement(20, 0, DONT_CHANGE, 180, DONT_CHANGE, 0, DONT_CHANGE);

Could you describe in the readme the pins that are used? :)

In particular these pins :) It's not obvious for people that want to know a bit more that just connecting it to an aruino uno.

#define SOFT_START_CONTROL_PIN 12
base.attach(11);
shoulder.attach(10);
elbow.attach(9);
wrist_rot.attach(6);
wrist_ver.attach(5);
gripper.attach(3);

Do you support 3.3v as an input for the pins 12, 11, 10, 9, 6, 5, 3 ?

It seams to work :)

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.