Giter Site home page Giter Site logo

Comments (5)

Alfrederson avatar Alfrederson commented on July 3, 2024 2

@yaroslavVl I told you it was going to be a problem

@cncPan check this: usbcnc/grbl#63

from 6-axis-usbcnc-grbl.

cncPan avatar cncPan commented on July 3, 2024

Thank you for the comment . I configured $30 = $31 = 1000 , min and max spindle speed the same value and used spindle_pwm_bit as enable bit.

from 6-axis-usbcnc-grbl.

robomechs avatar robomechs commented on July 3, 2024

Ok, I'll fix it.
Now we have next logic:

  • PWM+direction (def VARIABLE_SPINDLE, undef USE_SPINDLE_DIR_AS_ENABLE_PIN) or
  • PWM+enable (def VARIABLE_SPINDLE, def USE_SPINDLE_DIR_AS_ENABLE_PIN) or
  • enable+direction ((doesn't work now. bug) undef VARIABLE_SPINDLE, undef USE_SPINDLE_DIR_AS_ENABLE_PIN) or
  • just enable (undef VARIABLE_SPINDLE, def USE_SPINDLE_DIR_AS_ENABLE_PIN)

Is it ok if we will use PWM+enable+direction instead of PWM+enable?

from 6-axis-usbcnc-grbl.

Alfrederson avatar Alfrederson commented on July 3, 2024

@yaroslavVl I guess so, since it doesn't leave either pin non-functional

from 6-axis-usbcnc-grbl.

robomechs avatar robomechs commented on July 3, 2024

Ok, now PWM, Direction and Enable are avalaible by default. You can disable PWM (VARIABLE_SPINDLE) or Enable (USE_SPINDLE_ENABLE_PIN) or both, but direction will always run.

from 6-axis-usbcnc-grbl.

Related Issues (20)

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.