Is this possible
Yes, it is.
are there any pitfalls?
The IDE combines all the .ino files into one .cpp file for compiling, so I don't see any.
Is there perhaps a better way
Not until you get into making libraries.
Is this possible
Yes, it is.
are there any pitfalls?
The IDE combines all the .ino files into one .cpp file for compiling, so I don't see any.
Is there perhaps a better way
Not until you get into making libraries.