Shawn Silverman
Shawn Silverman
@tsandmann no issue with reordering that I know of. I thought that the comments in that forum post suggested that one _must_ add volatile to prevent reordering. There’s some finer...
Many of the Arduino-style libraries assume global state, but larger programs often aren't written this way. Not passing any state to callbacks precludes this non-global-style of programming, even without the...
Here's something like I was thinking: https://github.com/ssilverman/cores/commit/6051e61387baa9a03828e8bd178335480bdc7757
I swear it's a coincidence that this is almost exactly a year since the last post here. :) I was wondering if revisiting this issue is possible? This way I...
Here's a sample commit: ssilverman/cores@8024283d9f9066d5293f2b69a17d3cf1e1d6ad56. (Not sure if you'd like to see a PR yet.) I know a goal might be to use `std::function`, but if that's not yet possible,...
I'd love to explore getting some sort of state-passing change into `IntervalTimer`. I'm finding that my https://github.com/ssilverman/TeensyDMX library conflicts with https://github.com/vjmuzik/NativeEthernet, likely because of how I use the PIT timers...
That solution uses a global `cb` function, which is my problem to begin with; I need non-global things. Your `IntervalTimerEx` project looks promising, thanks for the pointer.
Thanks for this. I have a local copy that I try to keep up-to-date with `master`. I’ll see where your changes fit in.