ВходНаше всё Теги codebook 无线电组件 Поиск Опросы Закон Воскресенье
7 июля
188356 Топик полностью
Vladimir Ljaschko (05.04.2010 23:37, просмотров: 84) ответил bnc на Нужна помощь по I2C.
Ничего не перепутали? //------------------------------------------------------- // Send START, defined as high-to-low SDA with SCL high // Returns False if bus is not available void StartI2c(void) { HighSda(); HighScl(); DelayI2c(); LowSda(); DelayI2c(); LowScl(); } //------------------------------------------------------- // Send STOP, defined as low-to-high SDA with SCL high void StopI2c(void) { LowSda(); DelayI2c(); HighScl(); DelayI2c(); HighSda(); }