taliesin
taliesin
I seem to be equally biased, could you please elaborate a bit on > The ideas given here are rather permissive than reactive. The syntactic sugar supplied by the package...
Probably this is way too late, but maybe others with the same issue find this helpful. I use a BSS159 (and a ESD-Diode to GND directly on the connector, which...
Just thinking too complicated .. a plain old C function pointer works pretty well. > struct ShouldEstimateAndSend : public tinyfsm::Event > { > typedef void (*action_function_t)(void); > action_function_t _action_function; >...
Ah damn, binding does not work, see https://stackoverflow.com/questions/28746744/passing-lambda-as-function-pointer
Yes I did see that example, but still had the trouble to pass it via the event. There are some nifty workarounds for std::function, not as complete, but for a...
Finally, to close that topic, my solution: ``` // ActionFunctions may be passed via Events to be used for transit(action_function) // It allows to pass capturing lambdas as it stores...