As with most problems, there is usually more than one solution.
While I do not know too much about the board you linked to, it appears that it just an Arduino, or an ESP8266, or an Arduino with a ESP Shield. In this particular case, it would probably be used as an Arduino with ESP Shield. If so, the OP could then refer back to my first post which has some example code for this type of set-up. Using the TimerOne library. Although he seems to have already gotten this working with an ATMEGA nano.
The i2c boards that linked to, while having an attiny chip, are easily compatible with the ESP Boards mentioned in the opening post.
Another Option is to use one of these, which are discussed here: