Is there an easy way to use libraries designed for the Arduino IDE, with C and build code that I write for AVR-g ++ / AVR-GCC?
I am trying to use the Adafruit Wave Shield library , but just including header and cpp files is not very good. Can I somehow compile it and link to my C code? Or maybe just find a way to make it compile with my C code.
Currently, when I try to do something simple, for example:
#include "WaveHC/WaveHC.h" SdReader card; card.init();
Greetings to me:
70: undefined reference to `SdReader::init(unsigned char)'
source share