Hello guys. This is my first post.
I have the arduino mega 2560 and a turnigy 9x radio with 8ch receiver...
I get the value of receive with pulseIn function and set value to servo:
...
int val = pulseIn(rxPin, HIGH);
myServo.write(val);
the motor work, but oscillating. See Serial.println(val):
Sure. Explain what "don't work" means. You made some changes to some code you haven't posted. We can't see the changes. We can't see the new serial output. So, yeah, I have some ideas. You probably don't want to hear them, though.
Sure. Explain what "don't work" means. You made some changes to some code you haven't posted. We can't see the changes. We can't see the new serial output. So, yeah, I have some ideas. You probably don't want to hear them, though.