Hi,
I’m trying to display something with 8-bit mode on a HD44780 based lcd for a long time. However still i havent. I’ll be glad if someone could help me to find mistakes in this code. I only want to put char “a” to lcd. Here is the lame code.
/*
----------------------------------------------
PF 0-7 --> LCD Pin 7-14
PA4--> LCD RS Pin 4
PA6--> LCD Enable Pin 6
R/W pin always 0 Volt
----------------------------------------------
*/
#define DATA 0x10 // Define RS Pin HIGH
#define COMMAND 0x00 // Define RS Pin LOW
int iDataFlag;
void fnUsDelay ( int iDelay )
{ int i;
iDelay /= 11;
for ( i=0; i