Attempting to define and array ti, of three TicSerial objects. This will not compile. I believe I have done it with other compilers/processors.
The two commented-out lines compile just fine.
Pelase edit your post and enclose your code inside "code" tags, or your sketch will be damaged by the forum trying to "interpret" special characters.
Thanks.
The two lines that compile "just fine" supply arguments to the class's constructor, your attempt at defining an array of the class doesn't. Perhaps the class doesn't have a default constructor?
For further help, supply complete code, inline using code tags. Don't attach files, put the code inline.
Thanks all. First of all apologies for omitting to use the /CODE delimiters. I will try to remember (i don't get here often!)
J-M-L gave several versions that work. As gfvalvo mentioned I guess my class was not initializing. I am set up now with this using the first which is intuitively comfortable. I only come out of hibernation every few years to write C++ code and always forget a lot. Rifling thru my old yellowed books (i still use those!) , I surprisingly did not find this issue.
Thanks again
Fritz