schinken / SimpleTimer

Fork of Arduino SimpleTimer Library (http://playground.arduino.cc/Code/SimpleTimer)
78 stars 43 forks source link

Can we use SimpleTimer with NodeMCU v1.0 #5

Closed Nikitha-Kondapalli closed 6 years ago

Nikitha-Kondapalli commented 7 years ago

Is simpletimer compatible only with Arduino or nodemcu

Actually we are facing a problem while calling timer.setTimeout(t_ms, f) in nodemcu, where f is void function. The instructions in the function f are not executing.

schinken commented 7 years ago

I totally use it all day with my NodeMCUs. See here for examples:

https://github.com/b4ckspace/esp8266-laserabluftdruckmessung/blob/master/esp8266-laserabluftdruckmessung.ino#L131