AccelStepper.h library file where, how, mostly why

927 views
Skip to first unread message

Leonard Legg

unread,
Mar 22, 2015, 11:32:34 PM3/22/15
to accels...@googlegroups.com
Driving me up a wall.  Trying to catch up with all you folks but it is not working very well.  No I am not an idiot.  I bought a mega and it wouldn't do anything.  Spent almost a month arguing with the vendor ,finally got a replacement mega and wow it actually works.  Ran through a bunch of the example sketches.  Found a bug, misnomer, or bad sketch on almost every instance. (I guess that helps you learn) Finally got down to why I bought the thing to begin with.  Stepper motors.  I want to run an arduino controlled stepper on the lead screw of an old lathe that will only cut sae threads.  With computer control of the lead screw I should be able to cut any thread I want.  After working my a** off trying to make the steeper work, I finally got it working, kinda.  I figured now I can step up the agenda with some things I have seen on you tube.  I downloaded the AccelStepper.h file wrote up a sketch and no luck. the compiler faults as it can not find the lib file.  There is no actual .h file.  I have downloaded it five times from three different locations and nothing.  I did find an actual representation of it on one site in HTML.  It won't work. I went so far as to copy and paste the contents of the HTML file into the wire.h file, and then delete the wire contents of the file and then renaming it AccelStepper.h (trying to graft it into an original .h file)  the compiler will not recognize it.  Why is it that there is so much bogus, or wrong information about this subject.  Try to learn anything on this subject on you tube, what a joke.  You have to watch about 20 video's in order to find one little tid bit of real info.  So many just want to be famous on you tube.  See my face and see I can make a stepper turn.  Ain't I cool.  NO your not.  Cool is knowing what your doing and being able to explain it to others.  Providing viable information on the subject.

Can anyone help me with this?

gregor

unread,
Mar 23, 2015, 3:40:26 AM3/23/15
to accels...@googlegroups.com
You need the AccelStepper.cpp file, too.
What version of the Arduino IDE are you using? where have you put the AccelStepper library? my AccelStepper library is in documents/Arduino/libraries/ (download http://www.airspayce.com/mikem/arduino/AccelStepper/AccelStepper-1.47.zip, copy it to documents/Arduino/libraries/, exctract here, you should then have a folder AccelStepper (NOT AccelStepper-1.47) in your documents/Arduino/libraries/ folder.)
Any of the example sketches should compile without errors. If you post your code and the error messages we will be able to better help you.

Mike McCauley

unread,
Mar 23, 2015, 4:11:25 PM3/23/15
to accels...@googlegroups.com
It sounds like you have not downloaded and installed the entire AccelStepper package. It consists of more than just the .h file. Get the whole zip file and unpack it in the appropriate place for you IDE. 

Sent from my iPhone

On 23 Mar 2015, at 2:02 pm, Leonard Legg <lle...@gmail.com> wrote:

Driving me up a wall.  Trying to catch up with all you folks but it is not working very well.  No I am not an idiot.  I bought a mega and it wouldn't do anything.  Spent almost a month arguing with the vendor ,finally got a replacement mega and wow it actually works.  Ran through a bunch of the example sketches.  Found a bug, misnomer, or bad sketch on almost every instance. (I guess that helps you learn) Finally got down to why I bought the thing to begin with.  Stepper motors.  I want to run an arduino controlled stepper on the lead screw of an old lathe that will only cut sae threads.  With computer control of the lead screw I should be able to cut any thread I want.  After working my a** off trying to make the steeper work, I finally got it working, kinda.  I figured now I can step up the agenda with some things I have seen on you tube.  I downloaded the AccelStepper.h file wrote up a sketch and no luck. the compiler faults as it can not find the lib file.  There is no actual .h file.  I have downloaded it five times from three different locations and nothing.  I did find an actual representation of it on one site in HTML.  It won't work. I went so far as to copy and paste the contents of the HTML file into the wire.h file, and then delete the wire contents of the file and then renaming it AccelStepper.h (trying to graft it into an original .h file)  the compiler will not recognize it.  Why is it that there is so much bogus, or wrong information about this subject.  Try to learn anything on this subject on you tube, what a joke.  You have to watch about 20 video's in order to find one little tid bit of real info.  So many just want to be famous on you tube.  See my face and see I can make a stepper turn.  Ain't I cool.  NO your not.  Cool is knowing what your doing and being able to explain it to others.  Providing viable information on the subject.

Can anyone help me with this?

--
You received this message because you are subscribed to the Google Groups "accelstepper" group.
To unsubscribe from this group and stop receiving emails from it, send an email to accelstepper...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Mahtab Kamal

unread,
Dec 11, 2017, 1:55:43 PM12/11/17
to accelstepper
thanks
Reply all
Reply to author
Forward
0 new messages