Electronic Components Datasheet Search
  English  ▼

X  

PCF2119DU/2/2 Datasheet(PDF) 66 Page - NXP Semiconductors

Part # PCF2119DU/2/2
Description  LCD controllers/drivers
PDF  79 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  NXP [NXP Semiconductors]
Direct Link  http://www.nxp.com
Logo NXP - NXP Semiconductors

PCF2119DU/2/2 Datasheet(HTML) 66 Page - NXP Semiconductors

Back Button PCF2119DU/2/2 Datasheet HTML 62Page - NXP Semiconductors PCF2119DU/2/2 Datasheet HTML 63Page - NXP Semiconductors PCF2119DU/2/2 Datasheet HTML 64Page - NXP Semiconductors PCF2119DU/2/2 Datasheet HTML 65Page - NXP Semiconductors PCF2119DU/2/2 Datasheet HTML 66Page - NXP Semiconductors PCF2119DU/2/2 Datasheet HTML 67Page - NXP Semiconductors PCF2119DU/2/2 Datasheet HTML 68Page - NXP Semiconductors PCF2119DU/2/2 Datasheet HTML 69Page - NXP Semiconductors PCF2119DU/2/2 Datasheet HTML 70Page - NXP Semiconductors Next Button
Zoom Inzoom in Zoom Outzoom out
 66 / 79 page
background image
PCF2119X_5
© NXP B.V. 2009. All rights reserved.
Product data sheet
Rev. 05 — 13 August 2009
66 of 79
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(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, 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(0x70);
// 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
0
000
0
0
0
000
00
0
00
0
013aaa144
11
11
1
11
1
11
1
1
1
11
1
1
1



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79


Datasheet Download

Go To PDF Page


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


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
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