复制:
rt_memcpy(data->screen_buffer_tmp, data->screen_buffer[99], sizeof(data->screen_buffer_tmp));
赋值:
rt_memset(key_buffer, 0, sizeof(key_buffer));
比较:
if (rt_memcmp(data->screen_buffer_tmp, screen_buffer_tmp, LAMP_CHN_MAX_NUM) == 0)
{
data->param.on_off = 0; // 如果数组中所有元素都为 0
}