I'm trying to use the AccelStepper library to control an EasyDriver, like so (just an example, not real code):
#include <AccelStepper.h>
#define step 3
#define direction 4
AccelStepper stepper(1, step, direction);
void setup() {
}
void loop() {
}
But, every time I try to compile, it throws an error saying that there's no matching function call to "AccelStepper::AccelStepper(int, int, int)". From examples I've seen, I should be able to declare a stepper with three int arguments, but according to the source, there's no constructor that takes three ints as an argument. Any suggestions? Am I using the wrong library or using it incorrectly?
Edit: I've also tried just opening one of the examples from the AccelStepper library, but it won't compile, either. It keeps complaining (primarily) that it can't find wiring.h. I have the library in my sketchbook/libraries folder, like I'm supposed to have, but it's still not working.
Edit2: Honestly, in looking at the source for the library, I can't imagine that this ever worked in a 1-wire situation like it says it should (in using it with an EasyDriver). I'm surprised this has worked for anyone.