Hello ! I am new to Arduino and Electronics. I am working on a project where I have to use a stepper motor and a servo. Is it possible to include the servo and stepper library in a single code ?
I am sorry if the question sounds trivial but I have been trying to look for similar threads related to my question and I couldn't find any.
If it is possible then could you give me a simple example snippet about how to include them.
Thanks !
I want my stepper to rotate at 15rpm for 360 degree stopping at every 45 degree angle at constant speed. Can I still write the code without using the stepper library ?
"Can I still write the code without using the stepper library ?"
That question was meant for Robin2. Sorry, I did not specify.
abinaya1194:
I want my stepper to rotate at 15rpm for 360 degree stopping at every 45 degree angle at constant speed.
Sorry about that. I did not frame the question properly. But, can you tell me if I can include both stepper and servo libraries in a single code together ?
I did! Stepper Motor Basics was the first article I read in the forum and decided to choose a stepper for my project Very very helpful. Thank you Robin2.
I'll try writing a simple code without using the stepper library.