Subversion Repositories Code-Repo

Rev

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

Rev 228 Rev 230
Line 94... Line 94...
94
    Pins_Init();
94
    Pins_Init();
95
 
95
 
96
    // Initialize I2C in slave mode
96
    // Initialize I2C in slave mode
97
    I2C_DATA i2c_data;
97
    I2C_DATA i2c_data;
98
    I2C_Init(&i2c_data);
98
    I2C_Init(&i2c_data);
99
    I2C_Configure_Slave(0x24);
99
    I2C_Configure_Slave(0x25);
100
 
100
 
101
    // Initialize interrupts
101
    // Initialize interrupts
102
    Interrupt_Init();
102
    Interrupt_Init();
103
    Interrupt_Enable();
103
    Interrupt_Enable();
104
 
104