For Arduino, what is the preferred way to include source file only once in a single compilation?
- Include guards
- #pragma once
Thank you.
For Arduino, what is the preferred way to include source file only once in a single compilation?
Thank you.
Most libraries use include guards.
Thanks for the information PaulS.