the ESC type is volcano-25(07E03) ( 30 A )
and i tried the servo library and it doesn't work , i thought that the problem in mapping ( the value 179 )
It could very well be, the default servo pulse widths the servo library uses (when using degree arguments) is quite wide (544usec to 2400usec and could cause problem when using 0-179 degree arguments.
I have come to always using writeMicroseconds(xxxx) commands where I will restrict the pulse width arguments to 1000 to 2000usec as was always the R/C worlds default values, unless specific servo device proves to be able to handle wider usec ranges.
A typical ESC should respond to the following usec widths as stated:
myservo.writeMicroseconds(1000); // set ESC to stop
myservo.writeMicroseconds(1500); // set ESC to 50% speed
myservo.writeMicroseconds(2000); // set ESC to 100% of rated speed
Lefty