DGUS Display Memory - seho85/python-dgus GitHub Wiki
The display memory contain all the information that are presented to the user trough the different controls.
According to the "Application Development Guide" the memory is organized in the following way:
- 57342 bytes,
- divided into 28671 (0x6FFF) registers,
- each two bytes long
The memory can be accessed trough the controls, or it can be accessed using the serial interface protocol
Example:
- has assigned 0x0100 as "Variable Address"
- and 0x0200 and "Describe Pointer" (this is optional)
- using an 8bit character encoding
- displaying 8 characters
Beginning at register 0x0100 the text that is displayed is located. Because the Text Display, shows up 8 characters, the following address contain the rest of the text.
So on register 0x0100-0x01004 the text is located.
Beginning on register 0x0200 the configuration options of the control are located. Setting a config register is usually optional. But it allows to change the settings of the control during the runtime.
Here are a few examples that may be changed on runtime:
- Text Color
- Text Size
- Control Position
- Character encoding
- a.s.o
Please refer to the "Application Development Guide" for detailed listing of configuration options each control provides.