mgiaco82
Newbie level 2

Hello, I have started to write a Libary for the Hardware Modul of the MSP430F16x and I have some problems with it.
I want to read from a LM75 and I can only read the high byte.
I wrote something like this.
i2c_start(SLAVE1);
temp0 = i2c_readAck();
lcd_puts_int(temp0,0,1);
temp1 = i2c_readAck();
lcd_puts_int(temp1,0,2);
And then I get.:
23
23
on my LCD, and not
23
128 or something like else
I think there is some wrong i my lib.
please have a look on it.
mathias (austria)
I want to read from a LM75 and I can only read the high byte.
I wrote something like this.
i2c_start(SLAVE1);
temp0 = i2c_readAck();
lcd_puts_int(temp0,0,1);
temp1 = i2c_readAck();
lcd_puts_int(temp1,0,2);
And then I get.:
23
23
on my LCD, and not
23
128 or something like else
I think there is some wrong i my lib.
please have a look on it.
mathias (austria)