Controlling brushless motor through ESC with Arduino

Servo library is what you need.