Giter Club home page Giter Club logo

Comments (3)

Crafter76 avatar Crafter76 commented on August 11, 2024

/home/crafter76/source_energia/libraries/iAccelStepper/iAccelStepper.cpp: In member function 'void iAccelStepper::begin(uint8_t, uint8_t, uint8_t)':
/home/crafter76/source_energia/libraries/iAccelStepper/iAccelStepper.cpp:117:62: error: cannot call constructor 'iAccelStepper::AccelStepper' directly [-fpermissive]
/home/crafter76/source_energia/libraries/iAccelStepper/iAccelStepper.cpp:117:62: error: for a function-style cast, remove the redundant '::AccelStepper' [-fpermissive]
/home/crafter76/source_energia/libraries/iAccelStepper/iAccelStepper.cpp:117:62: error: no matching function for call to 'iAccelStepper::iAccelStepper(AccelStepper::MotorInterfaceType, uint8_t&, uint8_t&)'
/home/crafter76/source_energia/libraries/iAccelStepper/iAccelStepper.cpp:117:62: note: candidates are:
In file included from /home/crafter76/source_energia/libraries/iAccelStepper/iAccelStepper.cpp:1:0:
/home/crafter76/source_energia/libraries/iAccelStepper/iAccelStepper.h:14:3: note: iAccelStepper::iAccelStepper()
/home/crafter76/source_energia/libraries/iAccelStepper/iAccelStepper.h:14:3: note: candidate expects 0 arguments, 3 provided
/home/crafter76/source_energia/libraries/iAccelStepper/iAccelStepper.h:11:7: note: iAccelStepper::iAccelStepper(const iAccelStepper&)
/home/crafter76/source_energia/libraries/iAccelStepper/iAccelStepper.h:11:7: note: candidate expects 1 argument, 3 provided

from iaccelstepper.

sq7bti avatar sq7bti commented on August 11, 2024

In my attempts to make the original AccelStepper work (http://forum.stellarisiti.com/topic/574-lm4f-and-porting-of-accelstepper-lib) I had to rename the original constructor to become a begin method. Otherwise code was somehow freezing during the initialization stage. Modified (empty) constructor does nothing, the begin method called during setup() does what the original constructor was doing. For iAccelStepper to inherit, the required move of certain fields is described in README.

from iaccelstepper.

sq7bti avatar sq7bti commented on August 11, 2024

stale

from iaccelstepper.

Related Issues (4)

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.