I want to control a brushless motor with the "EMAX Simon Series 30amp ESC" and Arduino (Leonardo) board. I am really confused how to do that. I can't understand which beep sounds mean what. I have tested many code examples but they weren't useful.
When say you say you "want to control a brushless motor with [a] ESC ... and Arduino", do you mean:
Do you want the Arduino to act like the RC receiver in the airplane in the air and make the propeller spin slow, stop, fast, etc.? Or,
Do you want the Arduino to act like a person changing settings in the ESC using a programming card on the ground?
In the air
In the air, the 3 wire cable between the RC receiver and the ESC carries the so-called "RC PWM signals". The RC receiver sends exactly the same kind of signals to RC servos. The ESC neither knows nor cares where these signals come from -- the RC receiver, the Arduino PWM (using the Arduino Servo library), the Arduino Software Servo library ( periodically calling refresh() in the main loop() ), or some other source.
On the ground
The "beep sounds" are really only useful when changing the settings in the ESC on the ground, perhaps with a programming card. To learn what the "beep sounds mean", see the user manual "EMAX User Instruction for SimonK Series ESC".
Normally this is a one-time setup, so most people do this once manually on the ground.