#define SDA			PC4
#define SDA_PORT	PORTC
#define SDA_DDR		DDRC

#define SCL			PC5
#define SCL_PORT	PORTC
#define SCL_DDR		DDRC

#define SDA_H		SDA_PORT |= _BV(SDA)
#define SDA_L       SDA_PORT &= (~(_BV(SDA)))
#define SDA_INIT    SDA_DDR |= _BV(SDA)

#define SCL_H		SCL_PORT |= _BV(SCL)
#define SCL_L       SCL_PORT &= (~(_BV(SCL)))
#define SCL_INIT    SCL_DDR |= _BV(SCL)

#define noACK 0 
#define ACK   1 
                            
#define STATUS_REG_W 0x06   
#define STATUS_REG_R 0x07   
#define MEASURE_TEMP 0x03  
#define MEASURE_HUMI 0x05   
#define RESET        0x1e    

typedef union{ unsigned int i; float f;} value;

