How to send data from MCU over I2C?
I have array unsigned char data[1024] in RAM , and I need to send them to the display on I2C, this is not problem HAL_I2C_Master_Transmit( data ) works fine.
Now I need to send the same data, but so that the sequence starts with a control byte.
is IT possible to use two function calls
HAL_I2C_Master_Transmit(Control_byte):
HAL_I2C_Master_Transmit(data);
Respectively, the result on i2C will be the same as when I send
dataWithCB=Control_byte+data;
HAL_I2C_Master_Transmit(dataWithCB):
or how else to send the data so that the result is the same
Thanks for info.
