Both the scheduler and activation of interrupt handler accept the name of the function to call as a parameter, but do not seem to accept a parameter with the function name. For example, sstart(“blink(5)”, 1000, 5).
I have tried with the scheduler to pass a parameter, but nothing seems to happen. No error, just no scheduling.
With the scheduler, one function could be used to blink or monitor multiple pins at different intervals.
With an interrupt handler, one function could handle interrupts for multiple pins.
In complex situations, this could help get around the 16 function limit.
Have I missed an existing way to reuse a function?