Keyestudio Ks0428 Manual page 241

Table of Contents

Advertisement

www.keyestudio.com
else //other situations, stop
{
Car_Stop();
}
if (Serial.available())
{
bluetooth_val = Serial.read();
if (bluetooth_val == 'S') {
flag = 1;
}}}}
/***************Dot Matrix *****************/
// this function is used for dot matrix display
void matrix_display(unsigned char matrix_value[])
{
IIC_start();
IIC_send(0xc0); //Choose address
for(int i = 0;i < 16;i++) //pattern data has 16 bits
{
IIC_send(matrix_value[i]); //convey the pattern data
}
IIC_end();
//end the transmission of pattern data
IIC_start();
241

Advertisement

Table of Contents
loading

Table of Contents