accelstepper library

178 views
Skip to first unread message

Muhammad Hashem

unread,
Dec 8, 2018, 10:00:45 AM12/8/18
to accelstepper
Hi, I have downloaded many libraries accelstepper but the code still doesn't work.
Capture.PNG

gregor

unread,
Dec 9, 2018, 6:53:44 AM12/9/18
to accelstepper
Hi,

we need more info.
What version of the library are you using? have you tried the example sketches?
what does not work? what is the compiler error? can you share your code? 

Muhammad Hashem

unread,
Dec 9, 2018, 11:30:21 AM12/9/18
to accels...@googlegroups.com
scsd.PNG
sdcsd.PNG

--
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.

Muhammad Hashem

unread,
Dec 9, 2018, 11:33:14 AM12/9/18
to accels...@googlegroups.com
I have downloaded Bounce2 library but still doesn't work. 

Tinkers Projects

unread,
Dec 9, 2018, 11:39:07 AM12/9/18
to accels...@googlegroups.com
Where is motorX declared 

Regards
William Bailes
https://tinkersprojects.com

Muhammad Hashem

unread,
Dec 10, 2018, 5:09:10 AM12/10/18
to accels...@googlegroups.com
I think this problem will be solved if the  Bounce2 library works.
dfvf.PNG

Tinkers Projects

unread,
Dec 10, 2018, 5:46:04 AM12/10/18
to accels...@googlegroups.com
it does not look like a  Bounce2 problem, you may have not declared the class.
 also if Bounce2 is doing what i think its doing, which is debouncing of switches, your better going it with hardware. this can be solved with a capacitor across the switch

if you don't already put the following at the top of your code with the constant variables. try and see if this works
AccelStepper  motorX;

download.png

Muhammad Hashem

unread,
Dec 10, 2018, 6:13:12 AM12/10/18
to accels...@googlegroups.com
Ok. I'll do that. But in a separate question why the Bounce2 library doesn't coloured with Orange? Like any other library.

Tinkers Projects

unread,
Dec 10, 2018, 6:23:40 AM12/10/18
to accels...@googlegroups.com
this is where the keywords are controlled for the library. different keyword have different meanings and different colours. this depends on the developer who made it
send through other questions if you have any and if you get stuck with AccelStepper, i would suggest looking and getting working the examples first. they are very helpful.

Muhammad Hashem

unread,
Dec 10, 2018, 6:38:04 AM12/10/18
to accels...@googlegroups.com
Thanks a lot.
Reply all
Reply to author
Forward
0 new messages