Esc programming problem

Your choices are:

esc.writeMicroseconds() Values of roughly 1000 to 2000.
esc.write() Values of roughly 0 to 180.

Sounds like there is some confusion over which range you should be using.