Hallo an alle

Ich hab nun mal etwas geschrieben:

Code:
#include <avr/io.h>
#include <stdlib.h>
#include "i2c.h"	//Procyon I2C LiB 

#define LM75_ADRESS 0x97

int lm75_read(void);

	TEMPERATUR struct {
	uint8_t high;
	uint8_t low;
	} temp;

int lm75_read(void)
{
	TEMPERATUR struct {
	uint8_t high;
	uint8_t low;
	} temp;
	
	i2cSendStart();
	i2cSendByte(LM75_ADRESS); //Sende Adresse
	i2cSendByte(0X00); //Temperature Register
	i2cSendSart();
	
	temp.high = i2cReceiveByte();
	temp.low = i2cReceiveByte();
	
	i2cSendStop();
		return(0)
}
Kann das so funktionieren??

Danke im Voraus

Gruß Robert