Problems SimpleTimer


Not sure if this is the right spot to post this.
I am currently working on some kind of thermostat using Blynk and arduino.
For this I needed to use the SimpleTimer library.
I installed this library following the instructions but when I try to compile my sketch I get following failure remark:

In file included from C:\Users\tom\Documents\Arduino\IOT\Thermostaat\Thermostaat.ino:1:0:

C:\Users\tom\Documents\Arduino\libraries\SimpleTimer/SimpleTimer.h:11:24: fatal error: functional.h: No such file or directory

#include< functional.h>


compilation terminated.

I thought it was because of failures in my sketch but when I am trying some exampes of the library itself,I get the same.

Does somebody have experience with this kind of issues?

Just to be sure i ask are you installed functional.h properly? And sharing your sketch might help lot.

It seems, compiler couldn’t find above header file. Don’t know what it does, can’t find it in SimpleTimer in my library collection (different version?).

hmm… I checked SimpleTimer available in the Internet, and can’t find anything like functional.h. So check it at first (also, after #include there should be at least one space, I think)

i think it’s not necessary,i tried it without space and i didn’t get any error while compiling.

well, than this is not the problem. But still the mysterious functional.h

I think reinstalling Arduino IDE can solve your problem,after reinstall update your libraries and be sure to select correct board option.