#include<functional>

Thank you very much for this clarification
I'm really a beginner in Arduino, I'll try what you said to me.

Thank you