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....
This is my code.... ..
unsigned char time[3]={"00"}; void main() { unsigned int i,k; lcdcmd(0x38); lcdcmd(0x0F); lcdcmd(0x06); lcdcmd(0x01); { printstring("ENTER TIME:"); lcdcmd(); i=0; do { time[i]=keypad(); lcddata(time[i]); i++; } while(i!=2); i=0; lcdclear(); printstring("TIME SET", time); msdelay(200); } }
This is my code....
It rather obviously is not your code, but rather somebody else's code that you, well, let's call it "picked up", somewhere, but you don't understand it at all.
So guess what: if you want to learn programming, you'll actually have to do just that: learn. And no, just copy-pasting random stuff you don't understand is not the same thing.
And no, just copy-pasting random stuff you don't understand is not the same thing.
Very true. But it doesn't seem to have harmed the income of some consultants I've had the (mis-)fortune to deal with over the years.