Thank youFor sending one byte you must send the address, the pointer register (0x00), sizeof data is 0 and i believe the data variable itself can be a random because it will be not sent if you look at the for() routine in ADS1115_Write() function definition.
C:
unsigned char rd_buf[1];
void main(void)
{
unsigned char i = 0;
unsigned char Data1 [10]="xx";
Port_Initialized ();
LCD_Initialized();
I2C_Initialized();
//LCD_Data(Data1);
// Write to Config register
Result1 = ADS1115_Write(ADS1115_ADDRESS , Word_Address1 , sizeof(ADS1115_data), ADS1115_data);
__delay_ms(10);
// Write to Address Pointer register
Result2 = ADS1115_Write(ADS1115_ADDRESS , 0x00 , 0x00, 0x00);
__delay_ms(10);
while(1);
}
C:
// Read Conversion register:
Result3 = ADS1115_Read(ADS1115_ADDRESS, Word_Address1 , sizeof(rd_buf), rd_buf) ;
__delay_ms(10);




