Problem with importing a library

When you use the code from above and library from this link then you combine two different things.
For your code probably need this one Stepper .

However in .h files of both library you can found an example, how to use the library.

BR, Jan