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....
the ARM 'startup code' provided by manufacturers is wonderful, but, as opposed to manys belief, does not allow you not to think.
That is so true. Unfortunately, there does seem to be an increasing expectation for instant gratification. It's not unusual to hear "I shouldn't need to know that, I expect the compiler to know that I want to do XYZ".
The likes of Google don't help. Don't get me wrong. I think it's great and would hate to be without it now, but there are many people who either fail to understand how to make a good request or expect the first result to be the most informative.
The hardest thing for people to learn is that a couple of extra hours spent collecting information or planning at the start of the project will save many times over at the end of the project. People are in a hurry, so they jump-start the projects without first figuring out what the actual goal is. So when the do get a hit on Google, they decide it's "close enough" and most probably doesn't even read the full page.
The good thing is that lots of people will fail - and you can learn a lot from a failure. But it's so much smarter and productive to learn from someone elses failure instead of making own failures.
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); }