-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Examples of using TickerScheduler #15
Comments
Can someone explain the reason for this line in the example blink? ts.add(0, 1000, [&](void *) { blink1(); }, nullptr, true); [&](void *) { blink1(); } ? |
Hey @QuitButton! It's called a lambda expression, this is how you define a function object inplace for TickerScheduler to execute. Hope this clears things up :) Here's some further reading: |
Ok thanks. I'll be honest - I don't understand it, but I can at least use it to call a function, which is all I need. |
Hello all,
could anyone be willing to provide me with a sample of how they used the TickerScheduler.
I would really appreciate it.
Thank you in advance.
The text was updated successfully, but these errors were encountered: