Microcontroller › PIC › why cursor is not moving to next immediate position on LCD 16×2 ( LCD in 4 bit Interface and 2 line)? › Hi Siva,I think this could be
May 10, 2013 at 7:47 am
#9700
AJISH ALFRED
Participant
Hi Siva,
I think this could be some issues related with pointer access. Try modifying your decleration of array as follows;
unsigned char *str_1 = “ELECTRONICS”;
i = 0;
Befor using any string in your code, Make sure that your ‘dis_data()’ function is working by trying out some random alphabets jsut after INIT_LCD() like,
dis_data(‘A’);
dis_data(‘B’);