The easiest way to figure out an ESC is with a servo tester like this: https://www.ebay.co.uk/bhp/servo-testerOnce you've played with it and figured out the arming requirements you can code them up.
* The first set of tones denotes the number of cells in the LiPo pack connected to the ESC. (Three beeps (** ^indicatesa 3 cell LiPo pack while 4 beeps (»♦♦*) indicates a 4 cell LiPo pack).* The second set denoting Brake status (one beep(*) for Brake "ON" and two beeps (♦*) for Brake "OFF").
If the sketch does not affect the ESC behavior at all, I would first look at the wiring. Can you show us a wiring diagram? Pencil, paper and a camera are usually good enough. Also, show us a pic of you actual setup.
Powering up the ESC for the first time and setting the Automatic Throttle Calibration The Hobbyking ESC features Automatic Throttle Calibration to attain the smoothest throttle response and resolution throughout the entire throttle range of your transmitter. This step is done once to allow the ESC to "learn and memorize" your Transmitter's throttle output signals and only repeated if you change your transmitter. 1 .Switch your Transmitter ON and set the throttle stick to its maximum position. 2.Connect the battery pack to the ESC. Wait for about 2 seconds, the motor will beep for twice, then put the throttle in the minimum position, the motor will also beep, which indicates that your ESC has got the signal range of the throttle from your transmitter. The throttle is now calibrated and your ESC is ready for operation
My CONNECTIONS:all i connect is my 3s lipo battery of 1450mA, I connect the Black esc plug to arduino gnd and the White plug to digital 6 leg.