Hey
I'm trying to use the stepper.h library in a library I created. to simplify my code I remove all the unnecessary code.
My problem is how I can set it up correctly.
I used Snipping tool to show the code. the picture are added in the attachment.
Thx for the help <3
ps: I hope I formulated my questions correctly since it is my first post.
Please don't post pictures of text. That is very unhelpful.
Please post your full sketch.
If possible, you should always post code directly in the forum thread as text using code tags:
Do an Auto Format (Tools > Auto Format[/b) on your code. This will make it easier for you to spot bugs and make it easier for us to read.[/li]
- Edit > Copy for Forum*
- In a forum reply here, click on the reply field.* - Click the </> button on the forum toolbar. This will add the forum's code tags markup to your reply.
- Press "Ctrl + V". This will paste the sketch between the code tags.*
- Move the cursor outside of the code tags before you add any additional text to your reply.*
- Repeat the above process if your sketch has multiple tabs.*
[/list]*
This will make it easy for anyone to look at it, which will increase the likelihood of you getting help.*
Please also provide a more detailed description of the problem you're having.*