Im using 4bit mode.
data port PC4-PC7
RS - RB6
RW - RC2
EN - RC3
I config xlcd.h file like this and when I try OpenXLCD function it give strange errors. Like this
make -f nbproject/Makefile-default.mk SUBPROJECTS= .build-conf
make[1]: Entering directory `D:/Projeler/MPLABXProjects/16f690/XLCDH690.X'
make -f nbproject/Makefile-default.mk dist/default/production/XLCDH690.X.production.hex
make[2]: Entering directory `D:/Projeler/MPLABXProjects/16f690/XLCDH690.X'
"C:\Program Files (x86)\Microchip\xc8\v1.10\bin\xc8.exe" --pass1 --chip=16F690 -Q -G --asmlist --double=24 --float=24 --emi=wordwrite --opt=default,+asm,-asmfile,+speed,-space,-debug,9 --addrqual=ignore -P -N255 --warn=0 --summary=default,-psect,-class,+mem,-hex,-file --runtime=default,+clear,+init,-keep,-no_startup,+osccal,-resetbits,-download,-stackcall,+config,+clib,+plib "--errformat=%%f:%%l: error: %%s" "--warnformat=%%f:%%l: warning: %%s" "--msgformat=%%f:%%l: advisory: %%s" -obuild/default/production/main.p1 main.c
"C:\Program Files (x86)\Microchip\xc8\v1.10\bin\xc8.exe" --chip=16F690 -G --asmlist -mdist/default/production/XLCDH690.X.production.map --double=24 --float=24 --emi=wordwrite --opt=default,+asm,-asmfile,+speed,-space,-debug,9 --addrqual=ignore -P -N255 --warn=0 --summary=default,-psect,-class,+mem,-hex,-file --runtime=default,+clear,+init,-keep,-no_startup,+osccal,-resetbits,-download,-stackcall,+config,+clib,+plib "--errformat=%%f:%%l: error: %%s" "--warnformat=%%f:%%l: warning: %%s" "--msgformat=%%f:%%l: advisory: %%s" -odist/default/production/XLCDH690.X.production.cof build/default/production/main.p1
Microchip MPLAB XC8 C Compiler (Free Mode) V1.10
Copyright (C) 2012 Microchip Technology Inc.
(1273) Omniscient Code Generation not available in Free mode (warning)
:0: error: undefined symbol:
_OpenXLCD(dist/default/production\XLCDH690.X.production.obj)
make[2]: Leaving directory `D:/Projeler/MPLABXProjects/16f690/XLCDH690.X'
make[1]: Leaving directory `D:/Projeler/MPLABXProjects/16f690/XLCDH690.X'
(908) exit status = 1
make[2]: *** [dist/default/production/XLCDH690.X.production.hex] Error 1
make[1]: *** [.build-conf] Error 2
make: *** [.build-impl] Error 2
BUİLD FAILED (exit value 2, total time: 1s)