Strictly necessary cookies are on by default and cannot be turned off. Functional, Performance and Tracking/targeting/sharing cookies can be turned on below based on your preferences (this banner will remain available for you to accept cookies). You may change your cookie settings by deleting cookies from your browser. Then this banner will appear again. You can learn more details about cookies HERE.
Strictly necessary (always on)
Functional, Performance and Tracking/targeting/sharing (default off)
I am trying to print the degree symbol (ascii 248) to the Char LCD. I am trying to use LCD_Char_PutChar or PrintString, but neither give me the right output. For example, for char 126, which should be a tilde, I get an arrow ➔, which is not in the ascii table at all. Any ideas where I can get the character map for these?
This is not a matter of PrintString(), but concerned with your LCD's coding of special characters. The interface to LCD does not specify which pattern is printed for a character value (think of foreign language chars as Japanese). Try to get hands on the LCD's datasheet or, if all fails, define your own character using the CharLCD component.