+uint8_t checkMAX44009(uint8_t nr) {
+ volatile uint8_t b1;
+ nr=(nr<<1)&0x02f;
+
+ I2c_StartCondition();
+ I2c_WriteByte(0b10010100|nr);
+ I2c_WriteByte(0x03);
+ I2c_StartCondition();
+ I2c_WriteByte (0b10010101|nr);
+ b1 =I2c_ReadByte(NO_ACK);
+ I2c_StopCondition();
+ return b1!=0xFF;
+
+}
+
+