You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Would it be possible to publish SoftTimer6Rotary example with changes that makes compilations possible in latest Arduino version. I tried including function declarations "void callBack(Task* me);" but I could not make it compile. Compiler comes with error message:
exit status 1
invalid conversion from 'void ()(Task)' to 'void ()(short int, Rotary)' [-fpermissive]
The text was updated successfully, but these errors were encountered:
I'm sorry to hear that this bug is still not fixed in the current version of Arduino.
Until it is not fixed, you need to declare all functions before referencing them.
E.g. in this case you put this before creating Rotary instance "r":
Would it be possible to publish SoftTimer6Rotary example with changes that makes compilations possible in latest Arduino version. I tried including function declarations "void callBack(Task* me);" but I could not make it compile. Compiler comes with error message:
exit status 1
invalid conversion from 'void ()(Task)' to 'void ()(short int, Rotary)' [-fpermissive]
The text was updated successfully, but these errors were encountered: