Don’t confuse things, you must watch carefully the tutorials to the end. Why are you using the lcd.h and lcd.c file while you are already using the PIC18F peripheral library?
You cannot use two libraries at the same time which are supposed to do the same things.
Tutorial 5 and 22 use different libraries and the code is different. So you must decide which library to use for your tutorial not both.
You are inserting tutorial 22 library files but in your code you are using tutorial 5 functions.
And when you post code, you must also specify which errors you are getting, you can not just write: I’m still getting errors. Which errors? Depending on the environment I have, I might get different errors than yours when I compile your code. So I can’t guess the errors you are getting.
You must be logged in to reply to this topic.