Hi Guys,
I'm having trouble programming an 16x2 LCD, I wondered if someone could check my code. It compiles ok.
Still don't fully understand how to program this LCD, the order of which to execute commands seems confusing.
What is the sequence of writing data to the LCD, for example selecting the line cursor position?
Help Programming 16x2 LCD - PIC16F73
I'm having trouble programming an 16x2 LCD, I wondered if someone could check my code. It compiles ok.
Still don't fully understand how to program this LCD, the order of which to execute commands seems confusing.
What is the sequence of writing data to the LCD, for example selecting the line cursor position?
Code:
#include <htc.h> #include <pic.h> #define _XTAL_FREQ 4000000 __CONFIG(FOSC_XT & WDTE_OFF & PWRTE_OFF & CP_OFF & BOREN_OFF ); /****************** PIN Mapping...