Thank,
i have this file you mention.
Still, the microchip C-compiler has all the commands 'embedded'.
I want to start writing with the microchip C-compiler commands.
ex.
void main (void)
{
//i2c_start();
//i2c_out_byte(0xa0 | (dev_adr << 1));
//i2c_nack();
//i2c_out_byte((mem_adr >> 8) & 0xff); // high byte of memory address
//i2c_nack();
//i2c_out_byte(mem_adr & 0xff); // low byte of mem address
//i2c_nack();
//i2c_out_byte(dat); // and finally the data
//i2c_nack();
//i2c_stop();
OpenI2C(MASTER, SLEW_ON);
StartI2C();
WriteI2C(0xB8); //B8 = display adress
NotAckI2C();
WriteI2C(0xFE); // command prefix
NotAckI2C();
WriteI2C(0x46); // Turn backlight off
NotAckI2C();
StopI2C();
CloseI2C();
}