Subversion Repositories group.NITPanels

Rev

Rev 8 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 8 Rev 26
Line 147... Line 147...
147
 
147
 
148
    //_delay_us(I2CBB_DELAY);
148
    //_delay_us(I2CBB_DELAY);
149
 
149
 
150
    return res;
150
    return res;
151
}
151
}
-
 
152
 
-
 
153
unsigned char i2cbb_Sniff(unsigned char i2c_addr) {
-
 
154
	i2cbb_Init();
-
 
155
	i2cbb_Start();
-
 
156
	uint8_t read = i2cbb_Write( i2c_addr << 1 );
-
 
157
 
-
 
158
	return read;
-
 
159
}