Help optical rotary encoders

Hello guys, how are you?
Sorry, I don't know if I'm posting in the right place.
I have these two 400-phase 5-24v incremental pulse optical rotary encoders Lpd3806-400bm-g5-24c , and with them I am going to assemble a Yoke joystick, please, does anyone have the program to record on an Arduino Mega 25660 , for Joystick Yoke?
How to have device 1 and device 2 in the Arduino IDE, would that be a program or would it be a configuration in the Arduino IDE?
Sorry for the question, I don't know much about Arduinos!
Please could someone help me!!!

Thanks for any help, have a great week everyone!
Shark

You're not.
Glad to clear that up.

moved to project guidance

you have an encoder, check out the encoder library

I didn't understand,JML!

Capturar.PNG A

I suggest that — whatever your project is — you put it aside and spend time blinking leds, playing with tutorials and learning C++

Once this is clearer to you then using a library will make sense

if you don't want to learn, this seems a great ask for the Jobs and Paid Consultancy forum and we could move your post there, make sure you mention your budget.

Friend, thank you very much for all your help and your great kindness to me, I see that you are not very polite and do not have patience, if I knew I would not be asking here, unfortunately my knowledge about Arduinos is none.
My experience here on the forum was not good!
Have a great week!

if you are willing to learn, you are in the right place. But we won't be able to rewrite here the hundreds tutorials about C++, Arduino IDE, libraries, etc... so you'll need to do part of the job. We can point you in the right direction.

if you are not willing to learn and expect someone to write code for you based on your specifications, then you are in the wrong place and the Jobs and Paid Consultancy forum is a better place

which is it? willing to learn and work on your skills?

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.