Multilingual user interface Menu, GLCD and LPC1769

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Multilingual user interface Menu, GLCD and LPC1769

690 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by drvrh on Wed Jul 08 22:28:10 MST 2015
Hello

I would like create multilingual interface with menu.

But I don't have idea how to do it.

I some think, and best solve for this is maybe one list with word sorted by lagnuage in main program is one statement who set language and call word from .h file with set language.

Maybe do you have any ideas with example.

Labels (1)
0 Kudos
2 Replies

667 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by TheFallGuy on Thu Jul 09 02:37:18 MST 2015
How about learning C?

You are trying to initialise an array of characters with an array of POINTERS to characters. So, use

const unsigned char *word[] = {
"menu", "mani", "manual", "rocno"
};

0 Kudos

667 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by drvrh on Thu Jul 09 01:14:59 MST 2015
Hello,

now I wouldl ike write array with words and I have:

const unsigned char word[] = {
       "menu", "mani", "manual", "rocno"
};

I get some error.

(near initialization for 'word')
...
0 Kudos