That sketch is not compatible. You need to use the ESP library. The following HowTo works for all ESPs.
Looks like a great little board.
Cheers,
Craig