Comments (4)
I think you must have been using a later version or a different fork of the AccelStepper library; the version posted here has no 'setMinPulseWidth' member, nor is it present in any prior commit. You may need to download a later release (which does include setMinPulseWidth) from the original developer's site: http://www.open.com.au/mikem/arduino/AccelStepper
from adafruit-motor-shield-library.
Ah, you're right, of course. Sorry. I've updated the AccelStepper library but keep getting error messages. I'll maybe shoot an email to Mike and see if has some ideas. Thanks for your quick reply!
from adafruit-motor-shield-library.
Ok, I apologize for being a nuisance.
What is the difference between Mike Macauley's AccelStepper library and the one you posted a few days ago? When I load yours the 'setMinPulseWidth' error is the only one I get, but when I load his library I get several more. The file names are all the same, but the source file is different. Is there a way to use both in a library?
from adafruit-motor-shield-library.
The perils of code-forking. The version posted here is Arduino 1.0-compatible. He's made some different changes, but isn't yet 1.0-ready. Try this: download his latest 1.9 version. Then make a couple of changes in the source files:
In AccelStepper.h, around line 84, change this:
#include <wiring.h>
to this:
#if ARDUINO >= 100
#include "Arduino.h"
#else
#include <wiring.h>
#endif
Then, in AccelStepper.cpp, around line 6, change this:
#include "WProgram.h"
to this:
#if ARDUINO >= 100
#include "Arduino.h"
#else
#include "WProgram.h"
#endif
This appears to compile now. However, I don't have the same hardware on hand, so I cannot tell whether other behaviorally-incompatible changes may have been made in the library.
from adafruit-motor-shield-library.
Related Issues (14)
- Global constructors will setup timers too early HOT 1
- Double Precision Floating point HOT 1
- Incompatible with Arduino Due HOT 1
- AFMotor won't Compile on My iMac OR Windows PC HOT 6
- Warning;There is an artificial index in library of 'Adafruit Motor Shield library'
- THe library is not working with esp8266. Please make it compatiable with ESP8266. Thanks HOT 1
- Convert examples from .pde to .ino HOT 1
- artificial index? HOT 1
- Error: "AF_Stepper" does not name a type HOT 7
- False .github in libraries (help) HOT 2
- onestep() optimization HOT 1
- Incompatible with Leonardo HOT 1
- Add support for PIC32 architecture (chipKIT/MPIDE) HOT 6
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 adafruit-motor-shield-library.