I have a error when I compile the program. the error is: #161 declaration is incompatible with previous "I2C_write_data" (declared at line 114)
the program is:
int main (void)
{
char data_read_write [3] = {0,12,0};
char err = 0;
err = I2C_write_data(3,data_read_write,0x40};
...
}
int I2C_write_data(char nb_write, char* data_write, char adress)
{
...
}