Reference
Last revision 2026/01/08
Library
Click to download Library File and Example.
How to install a library?
Communication Protocol Description
Address Change
There are two solder pads of data bits A0 and A1 on the back of the LED display (disconnect: 0/connect: 1). The four slave addresses can be realized by the combination of A0 and A1, shown as below.
The address format of LED controller:
| MSB | D6 | D5 | D4 | D3 | D2 | D1 | LSB |
|---|---|---|---|---|---|---|---|
| 1 | 1 | 1 | 0 | 0 | A1 | A0 | R/W |
Note: D3~D7 should not be changed. When writing, D0 R/W=0, so the addresses are:
| A1 | A0 | Address |
|---|---|---|
| 0 | 0 | 0xE0 |
| 0 | 1 | 0xE2 |
| 1 | 0 | 0xE4 |
| 1 | 1 | 0xE6 |
IIC Communication
The data of microprocessor communicate with the LED driver control IC via two-line bus interface. During data input, DIN signal must keep unchanged when CLK is at high level. Only when CLK clock signal is at
low level can DIN signal be changed. The condition of starting data input is that DIN changes from high
to low when CLK is at high level, and its condition of ending is that DIN changes from low to high
when CLK is at high level, which is in accordance with IIC communication protocol.
The operation of writing LED display data shall follow the principle of “from low bit to high bit” of display address and “from low bit to high bit” of data byte.
Was this article helpful?
