void main() { // initialization WORD slidepos; // EzI2Cs initialization EzI2Cs_SetRamBuffer(sizeof(MyI2C_Regs), sizeof(MyI2C_Regs), (BYTE *) &MyI2C_Regs); EzI2Cs_Start(); // Turn on I2C EzI2Cs_SetAddr(5); // Change address to 5