This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Displaying character.

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...

Parents
  • The lcdwrite function expects not a character but a pointer to a character or rather a pointer to a number of characters in wich the last character has the value 0x00. This is called a nullterminated string. So it would be better to make the function call look like this:

    lcdwrite("Hello world")
    


    Was there no warning message by the compiler?

Reply
  • The lcdwrite function expects not a character but a pointer to a character or rather a pointer to a number of characters in wich the last character has the value 0x00. This is called a nullterminated string. So it would be better to make the function call look like this:

    lcdwrite("Hello world")
    


    Was there no warning message by the compiler?

Children