| Electronic Components Datasheet Search |
|
PCF2119FU/2/F2 Datasheet(PDF) 67 Page - NXP Semiconductors |
|
|
|||||||||||||||||||||||||||||
PCF2119FU/2/F2 Datasheet(HTML) 67 Page - NXP Semiconductors |
|
67 / 79 page ![]() PCF2119X_5 © NXP B.V. 2009. All rights reserved. Product data sheet Rev. 05 — 13 August 2009 67 of 79 NXP Semiconductors PCF2119x LCD controllers/drivers i2c_write(0x06); // 00110 i2c_stop(); // Until here the definition of the character and writing it into the CGRAM. Now it // still needs to be displayed. See below. // PCF2119, setting of proper display modes startI2C(); // PCF2119 slave address for write, SA0 is connected to Vdd SendI2CAddress(0x70); // MSB (Continuation bit Co) = 0, more than one byte may follow. Bit6, RS=0, next byte // is command byte i2c_write(0x00); // 2 lines x 16, 1/18 duty, extended instruction set. Next byte will be another // command. i2c_write(0x25); // Set display configuration to right to left, column 80 to 1. Row data displ. top to // bottom,1 to 16. i2c_write(0x06); // Set to character mode, full display, icon blink disabled i2c_write(0x08); // Set voltage multiplier to 2 i2c_write(0x40); // Set Vlcd and store in register VA i2c_write(0xA0); // Change from extended instruction set to basic instruction set i2c_write(0x24); // Display control: set display on, cursor off, no blink i2c_write(0x0C); // Entry mode set, increase DDRAM after access, no shift i2c_write(0x06); // Return home, set DDRAM address 0 in address counter i2c_write(0x02); // Clear entire display, set DDRAM address to 0 in address counter i2c_write(0x01); // Repeated Start condition because RS needs to be changed from 0 to 1 startI2C(); SendI2CAddress(0x70); // RS=1, next byte is data i2c_write(0x40); // Write the character at address 0, which is the previously defined Euro currency // character i2c_write(0x00); i2c_stop(); |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |