Hi! I have a problem with my infrared sensor and control.
I want to control a servo with my control.
To test and see the values that the sensor receives, i use the serial monitor, but different values appear even when i am not pressing any.
I upload my photos, i hope you can help me.
(And i also hope the google translator worked fine🤣)
The code in the photo works correctly, and the values it receives are fine. The problem starts when I want to add other components, for example a servo motor.
I upload the photo of the code that fails me, when I add the servo motor.