http://logic-bratsk.ru/radio/interfa...s/i2c_phil.htm