How to use Turnigy MultiStar ESC with generic microcontroller?
The PWM output on the signal wire usually uses a 50hz signal with 1-2ms high time. The arming procedure consists of a signal of the lowest power for a short period of time, followed by a beep from the ESC.

Using Propeller GCC and the simpletools library that comes with it, it would looks something like this:

// Arming:
pwm_start(20000);
pwm_set(4, 0, 1000);
waitcnt(CNT + CLKFREQ); // Wait 1 second.

// Spin at low speed.
pwm_start(20000);
pwm_set(4, 0, 1100);
waitcnt(CNT + CLKFREQ);

// Spin at high speed.
pwm_start(20000);
pwm_set(4, 0, 2000);
waitcnt(CNT + CLKFREQ);


If you want to make it a little easier, you can write a utility method:

// Speed should be between 0 and 1.
void motorSpin(double speed)
{
    pwm_set(4, 0, 1100 + 900*speed);
}


Good luck!