...continued...
The attempt to rewrite the uc1601s module was unsuccessful.
(See the whole project in attachment).
I make it without clear comprehension, and as result - it doesn't operate correctly.
Please, explain me
what manner must I make the correct transmission.
For example:
void uc1601s_config(void) //This is initializing routine
// for uc1601s controller
{
i2c_start();
i2c_write(0x70);
i2c_write(0xE8); // Set LCD Bias Ratio - 6
i2c_write(0x81); // Set Vbias Potentiometer
i2c_write(0xD0); // RDX0154
i2c_stop();
i2c_start();
i2c_write(0x70);
i2c_write(0x40); // Scroll Line - OFF
i2c_stop();
i2c_start();
i2c_write(0x70);
i2c_write(0x89); // Set RAM Address Control
i2c_stop();
i2c_start();
i2c_write(0x70);
i2c_write(0x84); // Disable Partial Display
i2c_stop();
i2c_start();
i2c_write(0x70);
i2c_write(0xC2); // Set LCD Mapping Control -
i2c_stop();
i2c_start();
i2c_write(0x70);
i2c_write(0xAF); // Set Display Enable
i2c_stop();
}
First of all I can't understand how to shape the START, RESTART and STOP i2c conditions.
Please help!