Subversion Repositories group.electronics

Rev

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

Rev 60 Rev 94
Line 4... Line 4...
4
 
4
 
5
void i2c_master(void) {
5
void i2c_master(void) {
6
	wire.rxBufferIndex = 0;
6
	wire.rxBufferIndex = 0;
7
	wire.rxBufferLength = 0;
7
	wire.rxBufferLength = 0;
8
 
8
 
9
	wire.rxBufferIndex = 0;
9
	wire.txBufferIndex = 0;
10
	wire.txBufferLength = 0;
10
	wire.txBufferLength = 0;
11
	
11
	
12
	twi_init();
12
	twi_init();
13
}
13
}
14
 
14