Replies: 1 comment
-
Your code is close to what works for me. Remember that when you are using header files you need to include the header of what your code depends on. In this case your timer0 declaration needs to understand what a Timer<> is.
I hope this helps. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi. This is probably mode of a programming issue than an issue with the library but I'm struggling to find the appropriate syntax.
I create some timers in the main setup function and update them in the loop as expected, but I need to access and control the timer object from a function within another file.
I've tried.. both without success.
extern Timer<> timer0 ;
extern auto timer0;
What would be the correct format to use for this as I'm not familiar using externs with templates.
Beta Was this translation helpful? Give feedback.
All reactions