LCDInfo.com http://forum.lcdinfo.com/ |
|
Nokia color LCDs (Philips / Epson) http://forum.lcdinfo.com/viewtopic.php?f=9&t=586 |
Page 5 of 20 |
Author: | gafar [ Wed Feb 16, 2005 18:24 ] |
Post subject: | lcd_color |
Henri, I initialize the lcd but i don´t get to send information. I need send the color table before?? You can help send the color red? Thanks My source code in msp430 1222 Reset bic.b #reset,&P3OUT ;colocar nivel 0 do BIT7 no reset LCD NOKIA call #To_aqui bis.b #reset,&P3OUT mov #0100h,R6 ;reset call #Comando mov #1100h,R6 ;sleep call #Comando mov #0300h,R6 ;booster call #Comando call #To_aqui mov #2900h,R6 ;lcd on call #Comando call #To_aqui mov #1300h,R6 ;normal call #Comando mov #2000h,R6 ;inv_off call #Comando mov #0ba00h,R6 ;data order call #Comando mov #3600h,R6 ;memory data acess call #Comando mov #0800h,R6 ;rgb call #Dados mov #3a00h,R6 ;set color call #Comando mov #0200h,R6 ;rgb call #Dados Call #Pos_x Call #Pos_y mov #2c00h,R6 ;dados call #Comando here i send the 02h to lcd, but lcd stay white. |
Author: | J1M [ Thu Feb 17, 2005 17:55 ] |
Post subject: | |
hi im trying to do a library for PCF8833 with a PIC18F2520, but i cant init my display this is my code, whats wrong? ... Thanks for your help! |
Author: | J1M [ Fri Feb 18, 2005 1:19 ] |
Post subject: | |
ive modified the code (up), but ive the same problem... im trying to put all the screen in red. xao! |
Author: | J1M [ Fri Feb 18, 2005 20:31 ] |
Post subject: | |
nobody?? please ive compiled the code more than 100 times!! thanks |
Author: | gafar [ Fri Feb 18, 2005 22:15 ] |
Post subject: | |
Jim, try use the invert mode comand 21h . I can initialize, but a have the same problem, i can send x and y, invert lcd. The colour nothing, only clear lcd with colour white. look in http://www.deramon.de/nokia6610lcd.php http://www.apetech.de/nokia6100.php |
Author: | J1M [ Fri Feb 18, 2005 22:39 ] |
Post subject: | |
ive found a 'little' error into the output of bits ..... its modified in the code below. now lcd seems to do 'something' but... no color! its suppouse im drawing a red background but.... nothing append.. ill try with invert mode... thanks gafar! |
Author: | llornkcor [ Sat Feb 19, 2005 5:16 ] |
Post subject: | |
I had the same problem when using the EPSON version of the screen. When i initialised the screen it comes on with a dull golden glow. I solve my problem by adjusting the voltages to the LED+ pin (pin 10). My volatage was too high making the contrast too high so I couldn't see any changes to pixels. Lower voltages should help. |
Author: | J1M [ Sat Feb 19, 2005 13:22 ] |
Post subject: | |
thanks for your reply llornkcor, im using philips version (brown board), and i think there isnt a problem o led voltages, i try with a low level and a high level and... nothing append... thanks |
Author: | Henri [ Sat Feb 19, 2005 18:04 ] |
Post subject: | |
It is already about year since I last worked with these displays so I don't remember anymore how things exactly work. To refresh my memory I would have to read the datasheets again. But these links posted earlier look like they would have some nice example code to use and see how the initialization and other things work. http://www.deramon.de/nokia6610lcd.php http://www.apetech.de/nokia6100.php I will bookmark these for myself to have a closer look when I next time work with these displays. |
Author: | J1M [ Sat Feb 19, 2005 20:28 ] |
Post subject: | |
thanks henri, now i can send images to the display (was a stupid wire...) ... ill finish the library with PIC and ill post it. Salu2! |
Author: | J1M [ Mon Feb 21, 2005 15:20 ] |
Post subject: | |
hi! Henri, ive a problem with mi library, when i send an image to the display, that is my result As you can see, the img ist complete, the functions are this: void gclcd_img(void) { gclcd_setarea(X_START, X_END, Y_START, Y_END); gclcd_cmd(MEMWRITE); for(i=0; i<(PIXELX*PIXELY)/2; i++) { gclcd_data(imagen[i]); } } imagen code: static const unsigned char imagen [19200]={ 0x42, 0x4D, 0x3E, 0x47, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x36, 0x04, 0x00, 0x00, 0x28, 0x00......... continue until 19200 hex values... Thnks! |
Author: | gafar [ Tue Feb 22, 2005 0:05 ] |
Post subject: | Bingo |
Hi all, I can to send data to lcd after use comand the contrast. Next step is send image. Thanks the all for help-me. |
Author: | gafar [ Tue Mar 01, 2005 13:25 ] |
Post subject: | LCD |
Hi, This my first work with lcd. I damaged the leds because i don´t used resistor. |
Author: | J1M [ Sat Mar 05, 2005 0:48 ] |
Post subject: | |
hi all! im publish a preliminary version of my library v0.1 with a pic18F http://foros.solocodigo.com/index.php?showtopic=13883 im looking for a program, or source code (PC) that convert an image (bmp 256) to RGB8 .. and hex values... in other words... a simple converter rgb8 with an output in hexadecimal... thanks! |
Author: | lcdmania [ Mon Mar 07, 2005 3:39 ] |
Post subject: | |
Hi, See this rgb8 convertert. I not tested it. http://www.lcdmania.net/files/RGB8_CONVERTER.exe Junior |
Page 5 of 20 | All times are UTC + 2 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |