Hi, I am attempting to transition some Arduino code. I have photos to help show my issue. The first is below: which shows a bunch of errors "identifier “{VARIABLE}” is undefined.
I was told you want to declare in a .h file using “extern” before it, yet I show that done here, in a .h file in the include folder…
And not only is that not working, but I also get a warning about the variables being “initialized and declared ‘extern’”
I cannot define it in the main file, because the variables are needed in a another .cpp file I have not yet added. So what is the problem here and how do I fix it?