Package ilcd

Class Memory

extends Object

Color iLCD controllerJoCs DPC3080 and higher contain some RAM for storing complete screen contents. This allows the user to select a screen memory area to draw to (draw screen) and a different one that is displayed (view screen). When changing the view screen, the previously drawn content is displayed instantly without any visible buildup. This can be used in turn to create multiple screens or pages with minimum switching delays.

Color iLCDs need a rather high amount of memory to store a screen (width * height * 2 bytes), so these models use an external RAM of typical 8 MByte to store screens into. When using a 1024 x 600 pixel LCD, four user accessible screens are available. For all other models with iLCD controllerJoC DPC3080 and higher, the number of screens is limited to a maximum of eight. To retrieve the number of available screens, the Memory.getOfScreens() method can be used.

iLCDs with the DPC3050 controller are not equipped with any external RAM, so the method Memory.getOfScreens() will return 0 for these models. Therefore, the methods in this chapter except Memory.copyScreenArea() will always return 0x15 which means the command is not acknowledge.

Every iLCD additionally provides a main screen, which can be addressed by the screen index 'M' (ASCII code 0x4D). The main viewport - which represents the entire screen area - of each screen is defined as 0.

Not supported by: DPC3050, DPC3020, DPC2060, DPC10xx

Note

_INSERT_CONSTRUCTOR_ENTRY_HERE_

Public Methods

Methods inherited from java.lang.Object

_INSERT_INHERITED_METHOD_ENTRY_HERE_

_INSERT_FIELDS_ENTRY_HERE_