Uno With Remote And receiver to control Servo

I want to control a servo and led with a remote , i have a 2 channel receiver ( one of an rc car) connected to UNO. The led works fine ,but the servo doesnt move although I checked the servo with the SWEEP code and it works fine

#include <Servo.h>

// Pin numbers
const int ledPin = 13;
const int onPin = 3;
const int offPin = 2;
int servoPin = 9;
const int servoMinAngle = 0;
const int servoMaxAngle = 180;
const int leftpin = 4;
const int rightpin = 5;
Servo myServo;


void setup() {
  // Set LED pin as output
  pinMode(ledPin, OUTPUT);
  // Set input pins
  pinMode(onPin, INPUT);
  pinMode(offPin, INPUT);
  pinMode(rightpin, INPUT);
  pinMode( leftpin, INPUT);
}

void loop() {
  // Check if pin 3 is high, turn on LED
  if (digitalRead(onPin) == HIGH) {
    digitalWrite(ledPin, HIGH);
  }
  // Check if pin 2 is high, turn off LED
  if (digitalRead(offPin) == HIGH) {
    digitalWrite(ledPin, LOW);
  }
  
  // Check if pin 4 is high, move servo to 0 degrees
  if (digitalRead(leftpin) == HIGH) {
     myServo.write
     (servoMinAngle);
    // You need to define or implement the moveServo function.
  }
  // Check if pin 5 is high, move servo to 180 degrees
  if (digitalRead(rightpin) == HIGH) {
     myServo.write (servoMaxAngle);
    // You need to define or implement the moveServo function.
  }
}

can you explain a bit more what this is and how it works (and how you wired that to your Arduino)?

It operates at 5-12 V. It has 4 wires 2 wires for one motor 2 for other. ( it is usually used to operate an rc car ). The wires are labelled B F - R L .

connection with arduino : (digital pin)
B------2
----------for led
F-----3

R----4
----------for servo
L-----5

is it delivering a stable voltage ? can you actually just write a small piece of code showing the state of the 2 channel receiver?

what do you mean
heres a pic...