Keyestudio Ks0428 Manual page 145

Table of Contents

Advertisement

www.keyestudio.com
How to control each led light of 8*16 dot matrix? We know that a
byte has 8 bits, each bit is 0 or 1. When a bit is 0, turn off LED and
when a bit is 0, turn on LED. Thereby, one byte can control the LED
in a row of dot matrix, so 16 bytes can control 16 columns of led
lights, that is, 8*16 dot matrix.
Interface Description and Communication Protocol:
The data of the microprocessor (arduino) communicates with the
AiP1640 through the two-wire bus interface.
The communication protocol diagram is shown below:
(SCLK) is SCL, (DIN) is SDA:
①The starting condition for data input: SCL is high level and SDA
changes from high to low.
② For data command setting, there are methods as shown in the
figure below
In our sample program, select the way to add 1 to the address
automatically,
the
binary
value
is
0100
0000
and
the
corresponding hexadecimal value is 0x40
145

Advertisement

Table of Contents
loading

Table of Contents