PWM values are,
first image is when i haven't plugged my RC, you can see the initial value is 968, which is the servo output. its meant to be 1500 but i am getting 968.
and when I plug my RC, you can see the variation, input pwm value is in the right, and output pwm is in the right.
Maybe, but still the the fluctuations won’t stop, what’s happening between the input and output, it’s simply reading and writing, but still getting a variation up to 300
i am getting my PWM output varying a lot, like it jumps from 1500 to 1200 even when there is no change in the input, its just from the output side, I measured the input and output at the same time. is my arduino nano broken or my code has problems
and i am giving the input 1200, after resting the value between 1600 and 1400, it will still be in 1200 because of the IF statement thats why we require to state the resting PWM.
I dont think you are getting the idea of what the problem i am facing, it would be great if you refer to the output screen shots above