Product specifications

SLCS Programming Manual
Rev. 1.24
- 65 -
Example
LC R 0x00 0x11 0x02 0x40 0x02 0x08 0x00 0x20 0x00 0xFF ~ 0xFF
1
2
3
4
5
6
7
Compression type : R =RLE
Color : 0x00 = Black
x position : 0x02 * 0x100(256) + 0x11 = 0x211(529)
y position : 0x02 * 0x100(256) + 0x40 = 0x240(576)
horizontal data number : 0x00 * 0x100(256) + 0x08 = 0x08(8)
6
vertical data number : 0x00 * 0x100(256) + 0x20 = 0x20(32)
7
bitmap data : total number = 8 * 32 = 256
RLE compression
This is the algorithm to compress the continuous data.
The compression is applied to 0x00 & 0xff data but not the others.
0xff 0x04 data is created if 0xff is repeated four times like 0x00 0x00 0x00 0x00.
In the same way, 0x00 0x04 is created by four times repeats of 0x00 such as 0x00 0x00 0x00 0x00.
Here is the example of compression.
Example) 0x78 0x78 0xff 0xff 0xff 0xff 0xff 0x22 0x00 0x00 0x00 0x00
0x78 0x78 0xff 0x05 0x22 0x00 0x04
(, )
6