Ok, I wrote some code for a rc plane ESC. SKYARTEC BMC-25A
Not sure if it will work with your ESC but it works with this one.
#include <Servo.h>
Servo m1;
void setup () {
m1.attach(9);//attach to pin 9 (digital)
delay(1);//just a delay to let stuff get started
m1.write(10);//writing the minimum value (Arming it)
delay(1500);//delay to let it process that
m1.write(180);//Writes max value
delay(1500);//delay to let it process
m1.write(90);//writes neutral
delay(1500);//delay
m1.write(138); //max is 138 min is 95
}
void loop() {
}