BLDC motor don't move and beep wirelessly

I bought HobbyWing SKYWALKER 20A esc, 2300KV brushless motor when I connected everything
don't work and beep every 1 second I tried to calibrate but failed what can I do

#include <Servo.h>
 
Servo esc;
int throttlePin = A0;
 
void setup()
{
esc.attach(9);
}
 
void loop()
{
int throttle = analogRead(throttlePin);
throttle = map(throttle, 0, 1023, 0, 179);
esc.write(throttle);
}

I've never used an esc before, so this may be nonsense, but I recall reading somewhere that you need to send them a certain sequence to arm them first.

In setup() try:

  esc.attach(9);
  esc.write(180);  // max throttle
  delay(500);
  esc.write(0); // min throttle

If that doesn't work, try reading the ESC manual for the arming sequence.

Forgive my curiosity, but is Servo library suitable for managing BLDC motots?

It is suitable to manage the ESC (Electronic Speed Controller) that drives the BLDC motor.

An Electronic Speed Control (ESC), used in radio-controlled models, is typically controlled with the same pulse width modulation (1000 microseconds for MIN and 2000 microseconds for MAX, repeat about 50 Hz) as a hobby servo. For those ESC's, the Servo library is a good source of control pulses.

@hmeijdam , @johnwasser
thank you

I try this but don't work I read in the instruction that these beeping means "trottle signal is irregular"