We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The example shows that ts.add has 4 arguments, 3 mandatory and 1 optional, however, the CPP seems to want 5 arguments:
here's the offending line of code ts.add(1, (1000 * updateRate), doStuff);
getting this error at compile time: note: bool TickerScheduler::add(uint8_t, uint32_t, tscallback_t, void*, boolean) bool add(uint8_t i, uint32_t period, tscallback_t, void *, boolean shouldFireNow = false); ^ .piolibdeps\TickerScheduler/TickerScheduler.h:80:10: note: candidate expects 5 arguments, 3 provided
Trying to compile using platformio version 3.5.0b3 and the arduino framework for an esp12e
edit
tscallback is the function to run at the scheduled time, what is it expecting in void * for arguments?
The text was updated successfully, but these errors were encountered:
Same issue here
Sorry, something went wrong.
No branches or pull requests
The example shows that ts.add has 4 arguments, 3 mandatory and 1 optional, however, the CPP seems to want 5 arguments:
here's the offending line of code
ts.add(1, (1000 * updateRate), doStuff);
getting this error at compile time:
note: bool TickerScheduler::add(uint8_t, uint32_t, tscallback_t, void*, boolean)
bool add(uint8_t i, uint32_t period, tscallback_t, void *, boolean shouldFireNow = false);
^
.piolibdeps\TickerScheduler/TickerScheduler.h:80:10: note: candidate expects 5 arguments, 3 provided
Trying to compile using platformio version 3.5.0b3 and the arduino framework for an esp12e
edit
tscallback is the function to run at the scheduled time, what is it expecting in void * for arguments?
The text was updated successfully, but these errors were encountered: