Trying to send PPM commands from Arduino Uno to TBS crsfr transmitter help pease?

Hi sorry about that,
Setup is currently I'm just trying to see if I can send ppm signals to the drone. But the arduino is plugged into my laptop just running a loop for a certain value and I'm trying the view that on beta flight but it's not coming up. the Arduino is than hooked up to a tbs crossfire transmitter connect powered by the Arduino which is hooked up on 5V,GND and port 9.
So the current code is:
#define PPM_PIN 9
#define CHANNEL_VALUE 1900 // in microseconds (can change this value)
#define FRAME_LENGTH 22500 // in microseconds (22.5 ms for one frame)
#define PULSE_LENGTH 300 // in microseconds (spacing between channels)

void setup() {
pinMode(PPM_PIN, OUTPUT);
digitalWrite(PPM_PIN, HIGH); // idle state HIGH
}

void loop() {
// Start frame sync pulse (Low)
digitalWrite(PPM_PIN, LOW);
delayMicroseconds(PULSE_LENGTH); // Sync pulse length

// Channel value: High pulse for the actual signal (variable length)
digitalWrite(PPM_PIN, HIGH);
delayMicroseconds(CHANNEL_VALUE - PULSE_LENGTH); // pulse for channel

// Rest of frame time (idle between channels)
delayMicroseconds(FRAME_LENGTH - CHANNEL_VALUE); // Fill the rest of frame

// Repeat the process
}

I can try and make a sketch later when I have the chance

Thanks again