I’m trying to put classes supporting sound-making in a separate cpp file with its own header file. Unfortunately, that separate file isn’t provided supporting data types like ‘byte’, HIGH, LOW … and probably others. It looks to me like the definitions are in wiring.h , but including <wiring.h> in my files resulted in all sorts of compiler errors. The same for just putting those definitions in my header by hand. I’m assuming that things are being declared in the wrong order.
So what do I put in my supporting files that will allow them to get all the variables and definitions that my main file sees?