rc switch example

Hi All, Here is my program to send data to a FS1000A transmitter.
#include <RCSwitch.h>

RCSwitch mySwitch = RCSwitch();
int v=(25);

void setup() {

Serial.begin(9600);

// Transmitter is connected to Arduino Pin #10
mySwitch.enableTransmit(10);
mySwitch.send(10236577,24);// runs once to open or shut gate gate is 10236577,24
delay(1000); // send pulse too fast if delay not added
}
void loop() { // if this not included sketch wont work
Serial.println(v);
}

The code I obtained from my receiver mx-rm-5v and using my remote, gate opening lock which has a receiver and relay. This is not working. Everything was working ok previously using a txc1 transmitter. But when I came back to it a few days later it wasn’t working anymore. I then checked the specs on the txc1 and its max voltage was 3v. I had been using 5v from arduino. So I assume it must have failed.
Another strange thing from the sketch that previously worked was that it was longer than 24 digits and nothing like the code I am getting now which in binary is 100111000011001010100001 which I assume to be the decimal number 10236577.
Can anyone suggest why this later transmitter doesn’t work? I have soldered a 25 cm wire to the module. The distance to the gate from the transmitter would be I suppose 30 meters.

Can you try this

#include <RCSwitch.h>
RCSwitch mySwitch = RCSwitch();

void setup() {
  mySwitch.enableTransmit(10);
  mySwitch.send("100111000011001010100001");
}

void loop() {yield();}

————————————————————
Please correct your post above and add code tags around your code:
[code]`` [color=blue]// your code is here[/color] ``[/code].

It should look like this:// your code is here
(Also press ctrl-T (PC) or cmd-T (Mac) in the IDE before copying to indent your code properly)