Comments (3)
/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.
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.
stale
from iaccelstepper.
Related Issues (4)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from iaccelstepper.