Closed igna09 closed 1 year ago
Unfortunately "std::function" doesn't compile in Arduino. As many other functionalities you have in C++ 11 and above "std::function" is just another one unavailable in Arduino. Do you have any working example of "std::function" so I make it work? I'm compiling in PlatformIO btw.
if I #define USE_STD_FUNCTION I can pass std::function (or [](){ ... } lambdas) as callbacks