Ok, newby to Arduino I2C, my question is this, I have a simple function from an STM32 project that initializes an LCD driver...like this...
void LCD_Driver_Init(void)
{
uint8_t data[2];
data[0] = 0x80; // Command byte to be sent next
data[1] = 0xC9; // Command byte = [7:4] - fixed, [3] En, [2] X - N/A to static disp, [1:0] 01 - Static
HAL_I2C_Master_Transmit(&hi2c1, display_Addr, data, 2, 100);
}
My question is how would you do
HAL_I2C_Master_Transmit(&hi2c1, display_Addr, data, 2, 100);
but useing the arduino method of Wire.write etc.
Thanks
Joe