I’d guess that you have a .cpp file and did not add at the top:
#include "Particle.h"
It’s one of the things that’s handled automatically when creating a .ino file, but required for .cpp files.
I’d guess that you have a .cpp file and did not add at the top:
#include "Particle.h"
It’s one of the things that’s handled automatically when creating a .ino file, but required for .cpp files.