hi all.... This is Gaurav Kothari. I want a very small help from you. As i new to programming part, i started my new project of hello world. my lcd prints it perfectly But now i want my lcd to ask the name first and then to print hello and then the name entered. can anybody please me....
hi all.
Thanks for your help before. I still work on the project and it is nearly working properly. The problem is that it sometimes prints on the second line with a gap. can anybody please me....
this is my new code
unsigned char time[3]={"00"}; void main(void) { unsigned int i,k, j; lcdcmd(0x38); lcdcmd(0x0F); lcdcmd(0x06); lcdcmd(0x01); printstring("ENTER TIME:"); lcdcmd(); lcdcursor(7); i=0; do { time[i]=keypad(); lcddata(time[i]); i++; } while(i!=2); i=0; lcdclear(); lcdcursor(5); printstring("TIME SET", time); msdelay(200); }