Page 1 of 1

Degrees symbol

Posted: Tue Jun 17, 2014 7:05 am
by Avinitlarge
I'm trying to display the degree's symbol. I've used lcd.print((char)178) but the symbol doesn't look like the proper symbol. I've looked through the chart but 178 seems to be the nearest or have I missed something?

Re: Degrees symbol

Posted: Tue Jun 17, 2014 8:26 am
by Tino
Hi,

Which Matrix Orbital display are you using?

Thank you for posting on our forums.
Martino

Re: Degrees symbol

Posted: Tue Jun 17, 2014 8:38 am
by Avinitlarge
LK404-25

Re: Degrees symbol

Posted: Tue Jun 17, 2014 9:02 am
by Tino
Hi,

It doesn't look like you are missing anything.
What is being written to the display when you send the lcd.print((char)178)?

Could you post a image of the character being written?

Thank you
Martino

Re: Degrees symbol

Posted: Tue Jun 17, 2014 9:52 am
by Avinitlarge
Its displaying a symbol, Just wondered if there was a symbol a pixel bigger?
Image

Re: Degrees symbol

Posted: Tue Jun 17, 2014 10:06 am
by Tino
Hi,

Thank you for the image.
That is the Closest to the Degrees symbol in the font loaded into your display. You can find the Character Map in you manual here:
http://www.matrixorbital.ca/manuals/LK_Series/LK204-25/

You can also create a custom character to use as your degrees symbol.

Thank you
Martino

Re: Degrees symbol

Posted: Tue Jun 17, 2014 11:34 am
by Avinitlarge
Thank you :)

Re: Degrees symbol

Posted: Tue Jun 17, 2014 12:05 pm
by Tino
Hi,

You are welcome.

In the manual you can see the example for a custom character builds a C with the degrees sign with it all as one character.

Again thank you for posting to our forums.
Regards,
Martino

Re: Degrees symbol

Posted: Tue Jun 17, 2014 2:40 pm
by Avinitlarge
Yes, I did see it, not quite sure how to use it though, still noobish at this

Re: Degrees symbol

Posted: Wed Jun 18, 2014 8:49 am
by Tino
HI,

Custom characters are store in display with the DEC values of 0 -7. As described in the manual there are 5 sets saved to memory. To use a custom character:

1. Send the "Load Custom Character" command with the bank you want (0-4)
2. Either send "Create a Custom Character" or "Saving Custom Character" with the data for the character.To create the degrees Celsius example symbol noted in the manual you would send:
254 78 "ID" 8 20 8 3 4 4 3 0 (ID needs to be a value between 0 and 7)

To save the character Send the "Saving Custom Character" command. Keep in mind if you save a custom character you will overwrite whatever the previous character that was in the address you save it to.

Thank you
Martino