Electronic Components Datasheet Search |
|
PCF2119X Datasheet(PDF) 69 Page - NXP Semiconductors |
|
PCF2119X Datasheet(HTML) 69 Page - NXP Semiconductors |
69 / 83 page PCF2119X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2011. All rights reserved. Product data sheet Rev. 9 — 14 April 2011 69 of 83 NXP Semiconductors PCF2119x LCD controllers/drivers 16.14 User defined characters and symbols Up to 16 user defined characters may be stored in the CGRAM. The content of the CGRAM is lost during power-down, therefore the CGRAM has to be rewritten after every power-on. Below some source code is printed, which shows how a user defined character is defined - in this case the euro currency sign. The display used is a 2 lines by 16 characters display and the interface is the I2C-bus: // Write a user defined character into the CGRAM startI2C(); // PCF2119 slave address for write, SA0 is connected to Vdd SendI2CAddress(0x76); // 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, basic instruction set. Next byte will be another command. i2c_write(0x24); // Set CGRAM address to 0 i2c_write(0x40); // Repeated Start condition startI2C(); SendI2CAddress(0x76); // RS=1, next byte is a data byte i2c_write(0x40); // Here the data bytes to define the character // Behind the write commands the 5x8 dot matrix is shown, the 1 represents a on pixel. // The Euro currency character can be recognized by the 0/1 pattern (see Figure 48) i2c_write(0x06); // 00110 i2c_write(0x09); // 01001 i2c_write(0x08); // 01000 i2c_write(0x1E); // 11110 i2c_write(0x1E); // 11110 i2c_write(0x08); // 01000 i2c_write(0x09); // 01001 Fig 48. User defined euro currency sign 00 0 00 0 00 0 0 0 0 00 0 0 00 0 00 0 013aaa144 11 11 1 11 1 11 1 1 1 11 1 1 1 |
Similar Part No. - PCF2119X_11 |
|
Similar Description - PCF2119X_11 |
|
|
Link URL |
Privacy Policy |
ALLDATASHEET.NET |
Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | 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 |