We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
I am a beginner to C language... I have alreaady initialized the LCD in my code...How do i display a message("HELLO" eg.) to LCD? I want to use it in function void but i do not know where to start...I want to make it simple if possible...There are samples that i found but the samples are complicated...
I change name and code to this:
void lcdwrite(char diget) { while(diget) { lcddata(diget); diget++; } }
now i get a different characters on screen.
what else can i try?
How do you suppose that will work?
Think about what the 'while' will do...
"what else can i try?"
Look back throughh this thread, and think about what "null-terminated string" means - look it up in your textbook, class notes, etc...
Now who's using my new nick or trying to be me?? I didn't wrote that...I am Fitri Nickolasky aka Fiddy Geeky...
Guys,just wanna check with you guys whether Did i configure the ports correctly??I connected the following pins of my LCD to 8051: RS to PORT 2.5, RW to PORT 2.6 ,E to PORT 2.7 and my data pins to PORT 3.0-3.7...
void Port_Init() { PRT3CF = 0xFF; P2MODE = 0x1F; }
Fiddeley,
WTF is the PRT3CF register?
youre usin an 8052 not an 8051. neither has the PRT3CF or P2MODE register.
youre project is now late mate!
saddos wont answer yer q if yer dont give correct details!
Ya I know but Mr Teech says I can have a few more days bcoz Ive been sick. You know things like diziness loss of memory and stuf.
Saw JenJen yesturday.
Fiddeley
Dont matter how many aliases you choose. you still owe me a drink!
And who is JenJen?
Shes my new bit of fluff