Why do I get this "function not declared in this scope" error?
Hello everyone, I'm still kinda new to Arduino, but I thought that I at least knew the basics to work with it for a school project of mine, however, when trying t compile my project, I just got this Error and I really don't know why:
5 Replies
I've got two relevant tabs within my project, and I find it strange that it complains about
delayCheck and inRange, but not about IdleAnimation for example, despite being declared in the same tab:
SSSurfer.ino:
funktionen.ino:
Put your functions into a
functions.h (not an ino) file, then #include that file in the main sketch. Then it compiles (until it complains about functions you don't have listed above 🙂 )I assume it's not as easy as to just change the file extension from .ino to .h, right?
Also how come that this issue is only popping up now, I have a bunch of different tabs in my project, and this is the first time that I got this. I used different functions across mutiple tabs a bunch of times now.
should be able to simply rename the tab
There's no #include for it anyway.