Degrees symbol

LK/ELK/VK/PK/OK/MX/GLK/EGLK/GVK/GLT Series

Moderators: Henry, Mods

Post Reply
Avinitlarge
LCD?
Posts: 6
Joined: Tue Jun 10, 2014 7:56 am

Degrees symbol

Post 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?

Tino
Matrix Orbital
Matrix Orbital
Posts: 158
Joined: Wed May 22, 2013 9:04 am
Location: Matrix Orbital

Re: Degrees symbol

Post by Tino »

Hi,

Which Matrix Orbital display are you using?

Thank you for posting on our forums.
Martino
Martino DeLeon
Matrix Orbital
Technical Support Representative

Avinitlarge
LCD?
Posts: 6
Joined: Tue Jun 10, 2014 7:56 am

Re: Degrees symbol

Post by Avinitlarge »

LK404-25

Tino
Matrix Orbital
Matrix Orbital
Posts: 158
Joined: Wed May 22, 2013 9:04 am
Location: Matrix Orbital

Re: Degrees symbol

Post 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
Martino DeLeon
Matrix Orbital
Technical Support Representative

Avinitlarge
LCD?
Posts: 6
Joined: Tue Jun 10, 2014 7:56 am

Re: Degrees symbol

Post by Avinitlarge »

Its displaying a symbol, Just wondered if there was a symbol a pixel bigger?
Image

Tino
Matrix Orbital
Matrix Orbital
Posts: 158
Joined: Wed May 22, 2013 9:04 am
Location: Matrix Orbital

Re: Degrees symbol

Post 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
Martino DeLeon
Matrix Orbital
Technical Support Representative

Avinitlarge
LCD?
Posts: 6
Joined: Tue Jun 10, 2014 7:56 am

Re: Degrees symbol

Post by Avinitlarge »

Thank you :)

Tino
Matrix Orbital
Matrix Orbital
Posts: 158
Joined: Wed May 22, 2013 9:04 am
Location: Matrix Orbital

Re: Degrees symbol

Post 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
Martino DeLeon
Matrix Orbital
Technical Support Representative

Avinitlarge
LCD?
Posts: 6
Joined: Tue Jun 10, 2014 7:56 am

Re: Degrees symbol

Post by Avinitlarge »

Yes, I did see it, not quite sure how to use it though, still noobish at this

Tino
Matrix Orbital
Matrix Orbital
Posts: 158
Joined: Wed May 22, 2013 9:04 am
Location: Matrix Orbital

Re: Degrees symbol

Post 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
Martino DeLeon
Matrix Orbital
Technical Support Representative

Post Reply