NIKITA PATEL
New Member
NIKITA PATEL submitted a new article:
Mplabx -I2C-Temperature sensor TMP102 - using pic24f16ka102 i2c interfacing temperature sensor TMP102
Read more about this article...
Mplabx -I2C-Temperature sensor TMP102 - using pic24f16ka102 i2c interfacing temperature sensor TMP102
i got ack from the slave bt its not receivng right value of temperature.its receiving continously FF
here is the code.....i need help...
int main()
{
I2C1CONbits.GCEN = 1;
TRISA=0;
// SDA=0;
// SCL=0;
char y;
// unsigned int data2,data1,data3;
unsigned char data1,data2,data3;
int data4,data5,data6;
//while(1){
InitI2C();
//while(1){
I2C_Start();
// AckI2C1();// send start sequence
y = I2C_Write_Byte(0x48);...
Read more about this article...