ESC

In your latest code you don't write anything to the ESC after it is armed. The last write is 1000 so the motor shouldn't be running at all. What actually happens and what beeps are you getting from the motor (should be 4 short and 2 long I think).

Steve