News:

Let's find out together what makes a PIC Tick!

Main Menu

Extended ASCII code

Started by joesaliba, Oct 23, 2022, 03:15 PM

Previous topic - Next topic

joesaliba

I am using this ASCII table which so far is giving me the correct results for symbols and HEX codes.

I.e.: - ß = $DF, ð = $F0 etc.

Now I am looking for the hex code of the capital sigma symbol, Σ, but cannot find any reference.

Any help please?

Regards

Joe



 

trastikata


John Lawton

Joe, on what device are you wanting to display the symbol - PC text editor? LCD screen?


joesaliba

@trastikata unfortunately I wasted a lot to find the correct ASCII table. It looks that there are several different tables which between them they are not the same. The link I posted is the correct one, as the hex I send shows the correct ASCII. For instance, I wanted to send the degree sign and it worked out by sending $B0.

@John Lawton It's a screen. But sending to serial is the same as the LCD I am using. I will make a variable increase and I should know what number it is.

 

joesaliba

To print this symbol on a Hitachi HD44780 a custom character should be created.

However, I need to print it to a Nextion display, of which sending hex numbers will print any character I want, but this sigma symbol is not there.

I will invent something else.

Thank you

Joe

keytapper

It may need some editor, but I'm not sure if it suits your purpose.
Ignorance comes with a cost