[ISSUE] Workbench IDE OSX - "pinMode is undefined"

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.

3 Likes