so a single cpp file can only have one class in it? all functions are considered part of the class?
Perhaps I am misunderstanding... I want to split my midi related stuff out of my main sketch into a midi.cpp file... part of this midi related stuff is the class, but not all of it. Am I to understand that I cannot have a global function and a class in a single cpp file?
extern MyMidi midi(Serial);
in midi.cpp would take care of things then right?
extern MyMidi midi;
Please enter a valid email to subscribe
We need to confirm your email address.
To complete the subscription, please click the link in the
email we just sent you.
Thank you for subscribing!
via Egeo 16