How to drive a LCD text display in different languages?

Status
Not open for further replies.

mwmmboy

Full Member level 2
Joined
May 18, 2001
Messages
134
Helped
8
Reputation
16
Reaction score
2
Trophy points
1,298
Activity points
979
Rom tables

hi,
I' am programming a HCS08 microcontroller using C, and I need to drive a LCD text display in different languages. Usually I place the constant string of the display in rom (#define) , and they are univocally identified by the identifier.
Can you suggesto how to handle different definition?

Tx
 

Rom tables

Salam,

Put your constant string in arrays for example

const unsigned char English_Display [] ={c1, c2, ....}

Bye
 

Re: Rom tables

Thanks ,
one more question, I am beginner with c programming, so with this definition the strings are placed on RAM or in ROM?

TX
 

Rom tables

Salam,

In Flash program memory

Bye
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…