The other day, I downloaded a lcd1602 library which has lcd.h and lcd.c two files.
And when I try to include and use it, the AVR studio produces error when I include the lcd.h file.
but it works ok when I iinclude the lcd.c file, I thought all I need is to include the lcd.h file if I am using a library.
I have tried these these codes:
and it doesn't work
but this work:
and these happen to the other library I tried use as well.
your help is appreciated.