سلام.
لطفا اگه کسی میدونه کمک کنه.
لطفا اگه کسی میدونه کمک کنه.
/* Generate Start Condition */ PORT_USI &= ~(1<<PIN_USI_SDA); // Force SDA LOW. _delay_us( T4_TWI/4 ); PORT_USI &= ~(1<<PIN_USI_SCL); // Pull SCL LOW. PORT_USI |= (1<<PIN_USI_SDA); // Release SDA.
/* Generate Start Condition */ PORT_USI &= ~(1<<PIN_USI_SDA); // Force SDA LOW. _delay_us( T4_TWI/4 ); PORT_USI &= ~(1<<PIN_USI_SCL); // Pull SCL LOW. PORT_USI |= (1<<PIN_USI_SDA); // Release SDA.
دیدگاه