I’ve been trying to make an rc robot/car using arduino that reads values from two channels on an rc receiver and maps those values to the left side motors and right side motors.
ex. The left joy stick will control the speed of the left motors and the right joystick will control the speed of the right motors.
However, the arduino seems slow to respond to any rc controller input. Sometimes the left side speed will update but the arduino will ignore any right side input. Sometimes, when moving both joysticks forward, only one side will respond while the other side fails to begin moving until many seconds later.
I am 99% sure the problem exists in the code as I have very little experience in programming. My code is attached.
Steve_code_test2.ino (1.37 KB)