welcome everybody
I connected the steering wheel, but I encountered this problem. What caused it and what is the solution?
What wheel, connected to what, and what's the problem?
You may find that many people (me included) prefer not to have to work themselves through a video to figure out what's going on. Please describe in words what the problem is, and provide a schematic diagram of your circuit.
The problem is that the pedal indicators oscillate and they work on their own within the game. What should I do to make it look like this, as in the video?
Where are those in your schematic?
What code is producing the unintended behavior?
What is the intended behavior and how does your system deviate from this? What do you mean by "oscillate"?
ماذا تقصد ب "تتأرجح"؟
As shown in the first video, the random movement of the indicators
I did not understand the questions because I am a beginner in the field of Arduino and English is my second language
Please show your code and try to explain how it SHOULD work and how it works in reality.
Use a google translator.
I understand.
See if you can work with what @b707 said.
You need to post the code of your sketch.
It helps that we now know that your pedals are in fact the three pots. One stability issue you have there is that they're wired to the 5V supply of the Arduino. It's better to use the internal 1.1V reference for them and connect the upper leg to Aref instead of 5V.
Where can I find this code? Is it through the Arduino IDE? If the answer is yes, how can I do that? Excuse me because I am a beginner.
If you haven't the code, so what you tested? Did you upload the firmware to your board?
How did you decided that your indicators do not works without the code?
In addition to your knowledge, when the variable resistor is disconnected, the cursor remains in rapid motion, as in the video, and also when the resistor is installed.
I already uploaded the firmware for the board
It is an absolutely normal - if you do not connect anything to the pins, its values are floating randomly.
Did you compiled it before upload? If so - it means that you have a sourcecode.
Is the program relevant?

Thank you to everyone who contributed to finding the solution. After a long search, I discovered that the resistors were defective and were replaced





