LCD Greek symbols

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 6.

Moderator: Benj

Post Reply
User avatar
Jan Lichtenbelt
Posts: 797
Joined: Tue Feb 17, 2009 8:35 pm
Location: Haren GN, the Netherlands
Has thanked: 128 times
Been thanked: 264 times
Contact:

LCD Greek symbols

Post by Jan Lichtenbelt »

Is there an easy way to send the Greek symbol Ω to a LCD?

User avatar
cubitus54
Flowcode v5 User
Posts: 110
Joined: Wed Jun 19, 2013 7:18 am
Has thanked: 7 times
Been thanked: 32 times
Contact:

Re: LCD Greek symbols

Post by cubitus54 »

Hello,

We need a 5x8 matrix encoded

exemple : http://www.instructables.com/id/LED-Sco ... enerator-/

this is "é"
Image1.gif
Image1.gif (19.4 KiB) Viewed 6017 times
Flowcode V6.1.2.0(11 05 2015)

User avatar
Jan Lichtenbelt
Posts: 797
Joined: Tue Feb 17, 2009 8:35 pm
Location: Haren GN, the Netherlands
Has thanked: 128 times
Been thanked: 264 times
Contact:

Re: LCD Greek symbols

Post by Jan Lichtenbelt »

Hi Cubitus,

Thanks.

In the datasheet op de LCD block I found the value of 0xF4 for the omega symbol. But how can I use that in flowocode?

Kind regards

Jan

medelec35
Matrix Staff
Posts: 9521
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2585 times
Been thanked: 3815 times
Contact:

Re: LCD Greek symbols

Post by medelec35 »

Hi Jan,
Have you tried PrintASCII 0xF4?

Martin
Martin

User avatar
Jan Lichtenbelt
Posts: 797
Joined: Tue Feb 17, 2009 8:35 pm
Location: Haren GN, the Netherlands
Has thanked: 128 times
Been thanked: 264 times
Contact:

Re: LCD Greek symbols

Post by Jan Lichtenbelt »

P1060645_t.jpg
P1060645_t.jpg (64.83 KiB) Viewed 5958 times
IT WORKS!

User avatar
Jan Lichtenbelt
Posts: 797
Joined: Tue Feb 17, 2009 8:35 pm
Location: Haren GN, the Netherlands
Has thanked: 128 times
Been thanked: 264 times
Contact:

Re: LCD Greek symbols

Post by Jan Lichtenbelt »

How do I add greek symbols to a string?

Kind regards

Jan Lichtenbelt

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: LCD Greek symbols

Post by Benj »

Hello Jan,

You can add the character to the string like this.

strvar[x] = 0xf4

where x is the location in the string you want to add the symbol.

Or you can simply type in the string and at the point you want to insert the symbol hold down the Alt key and type the number 244 on the numeric keypad on your keyboard and then release the Alt key. You should get something looking like this.

String = "Test¶"

This method does not work for the numeric digits above the letters on the keyboard, just the numeric keypad.

Lastly you can use the Alt key method to assign the symbol to the location in the string array if you don't want to have to remember the hex value,

strvar[x] = '¶'

I use Alt + 248 a lot for good old °C

User avatar
LeighM
Matrix Staff
Posts: 2178
Joined: Tue Jan 17, 2012 10:07 am
Has thanked: 481 times
Been thanked: 699 times
Contact:

Re: LCD Greek symbols

Post by LeighM »

Another way is ...

Code: Select all

mystring = "Omega=\xf4"

Post Reply