Hello,
Can someone who has successfully implemented external pin definitions (using lcd_definitions.h) for Peter Fleury's LCD library nudge me in the right direction?
I have a project where I am attempting to utilize the Peter Fleury LCD library. I have successfully programmed an ATmega328P using this library and want to attempt to use external modifications so I don't need to copy versions of the lcd.c and lcd.h files into each project. Per the header file, this can be done by including a file called lcd_definitions.h and by calling
-D_LCD_DEFINITIONS_FILE
from the Makefile at compile. I believe I properly set all of these up as before the project would simply build with the default pin setup, however when I attempt to build the project with the above setting applied it fails with the error message
lcd_definitions.h: No such file or directory
In the attached images, I created and set up my port and pin definitions per the library's instruction and have included both lcd_definitions.h and lcd.h in my main file. Is there a file location I need to be searching for from the library to find the external definitions file?