Closed engwan closed 8 years ago
On Tue, Jun 7, 2016 at 9:19 PM, Heinrich Lee Yu notifications@github.com wrote:
My main sketch and a library I wrote are using EnableInterrupt. That means I have to include EnableInterrupt twice - in my main sketch and in my library.
The linker is giving me "multiple definition" errors. I've read about similar errors (https://forum.arduino.cc/index.php?topic=351281.15) and I believe it is caused by having the definitions inside the .h file instead of in a separate file.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/GreyGnome/EnableInterrupt/issues/34, or mute the thread https://github.com/notifications/unsubscribe/ADSimbDy9A_6UtWEIGFjnolbhsq_Kz79ks5qJibIgaJpZM4IwiO9 .
-Mike Schwager
Sorry didn't see that.
My main sketch and a library I wrote are using EnableInterrupt. That means I have to include EnableInterrupt twice - in my main sketch and in my library.
The linker is giving me "multiple definition" errors. I've read about similar errors (https://forum.arduino.cc/index.php?topic=351281.15) and I believe it is caused by having the definitions inside the .h file instead of in a separate file.