void CB_Configuration() 
{
	TX_2Byte[0] = 0x90; TX_2Byte[1] = 0x00;
		I2C_WriteReg(0x3E,TX_2Byte,2);
		delayUS(1000);

	TX_3Byte[0] = 0x35; TX_3Byte[1] = 0x93; TX_3Byte[2] = 0x03; //0x09
	I2C_WriteReg(0x3E, TX_3Byte, 3);
	delayUS(1000);
	TX_2Byte[0] = Checksum(TX_3Byte, 3); TX_2Byte[1] = 0x05;
	I2C_WriteReg(0x60, TX_2Byte, 2);

	TX_2Byte[0] = 0x92; TX_2Byte[1] = 0x00;
	I2C_WriteReg(0x3E,TX_2Byte,2);
}
void CB_Set_Lvl()
{
TX_2Byte[0] = 0x90; TX_2Byte[1] = 0x00;
I2C_WriteReg(0x3E,TX_2Byte,2);
 delayUS(1000);
TX_4Byte[0] = 0x84; TX_4Byte[1] = 0x00; TX_4Byte[2] = 0xA0; TX_4Byte[3] = 0x0F;
I2C_WriteReg(0x3E, TX_4Byte, 4);
delayUS(1000);
TX_2Byte[0] = Checksum(TX_4Byte, 4); TX_2Byte[1] = 0x06; // Checksum and Length
I2C_WriteReg(0x60, TX_2Byte, 2);
delayUS(1000);
 TX_2Byte[0] = 0x92; TX_2Byte[1] = 0x00;
 I2C_WriteReg(0x3E,TX_2Byte,2);
 delayUS(1000);
}

void CB_ACTIVE_CELLS_WRITE() 
{
TX_2Byte[0] = 0x90; TX_2Byte[1] = 0x00;
I2C_WriteReg(0x3E,TX_2Byte,2);
delayUS(1000);
TX_4Byte[0] = 0x83; TX_4Byte[1] = 0x00; TX_4Byte[2] = 0xFF; TX_4Byte[3] = 0xFF;
	I2C_WriteReg(0x3E, TX_4Byte, 4);
	delayUS(1000);
	TX_2Byte[0] = Checksum(TX_4Byte, 4); TX_2Byte[1] = 0x06;  
	I2C_WriteReg(0x60, TX_2Byte, 2);
	delayUS(1000);
	TX_2Byte[0] = 0x92; TX_2Byte[1] = 0x00;
	I2C_WriteReg(0x3E,TX_2Byte,2);
	delayUS(1000);
}