Hello, this is maybe a simple question, but I can't figure it out...
I have created a simple library called test.h wich contains a simple function definition, and a test.c wich implements it.
When I compile, It cannot find my library. I suppose this is because of my makefile. Here is the line I use to compile :
avrdude -c arduino -P COM4 -b 19200 -F -p atmega328p -U flash:w:main.hex:i
Do I need to add something else so my library header is recognize?
I get the following error:
main.o: In function `main':
main.c:(.text+0x5a): undefined reference to `myFunction'