Grove - RGB LED Matrix w/Driver examples

Hi,



The emojis are stored in the firmware of the driver and when you call it from the code it gets the emoji data via I2C communication.



void GroveTwoRGBLedMatrixClass::displayEmoji(uint8_t emoji, uint16_t duration_time, bool forever_flag)

{

uint8_t data[5] = {0, };



data[0] = I2C_CMD_DISP_EMOJI;

data[1] = emoji;

data[2] = (uint8_t)(duration_time & 0xff);

data[3] = (uint8_t)((duration_time >> 8) & 0xff);

data[4] = forever_flag;



i2cSendBytes(currentDeviceAddress, data, 5);

}



If you want to display your custom emoji then you can follow this DIY part:

<LINK_TEXT text=“http://wiki.seeedstudio.com/Grove-RGB_L … river/#diy”>http://wiki.seeedstudio.com/Grove-RGB_LED_Matrix_w-Driver/#diy</LINK_TEXT>





I hope it will help you.



Thank you.