Project

General

Profile

Revision 383

IT WORKS! i cleared portb. oops.....

View differences:

i2c.c
39 39
    packet[i+1] = data[i];
40 40
  }
41 41
  
42
  PORTB&=~_BV(PB4);
43
  
42 44
  //Send packet. Will open line, transmit, and close line.
43 45
  USI_TWI_Start_Transceiver_With_Data(packet, (data_size + 1));
46
  
47
  PORTB&=~_BV(PB5);
44 48

  
45 49
}
46 50

  

Also available in: Unified diff