LCDInfo.com

http://www.lcdinfo.com
It is currently Thu Mar 28, 2024 12:00

All times are UTC + 2 hours




Post new topic Reply to topic  [ 288 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6, 7, 8 ... 20  Next
Author Message
 Post subject: lcd_color
PostPosted: Wed Feb 16, 2005 18:24 
Offline

Joined: Mon Aug 04, 2003 20:01
Posts: 9
Location: Brazil
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.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Feb 17, 2005 17:55 
Offline

Joined: Wed Jan 12, 2005 23:27
Posts: 20
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! :)


Last edited by J1M on Sat Feb 19, 2005 17:47, edited 7 times in total.

Top
 Profile  
 
 Post subject:
PostPosted: Fri Feb 18, 2005 1:19 
Offline

Joined: Wed Jan 12, 2005 23:27
Posts: 20
ive modified the code (up), but ive the same problem... im trying to put all the screen in red.

xao!


Top
 Profile  
 
 Post subject:
PostPosted: Fri Feb 18, 2005 20:31 
Offline

Joined: Wed Jan 12, 2005 23:27
Posts: 20
nobody?? please ive compiled the code more than 100 times!! :(

thanks


Top
 Profile  
 
 Post subject:
PostPosted: Fri Feb 18, 2005 22:15 
Offline

Joined: Mon Aug 04, 2003 20:01
Posts: 9
Location: Brazil
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


Top
 Profile  
 
 Post subject:
PostPosted: Fri Feb 18, 2005 22:39 
Offline

Joined: Wed Jan 12, 2005 23:27
Posts: 20
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! ;)


Top
 Profile  
 
 Post subject:
PostPosted: Sat Feb 19, 2005 5:16 
Offline

Joined: Sat Feb 19, 2005 5:12
Posts: 1
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.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Feb 19, 2005 13:22 
Offline

Joined: Wed Jan 12, 2005 23:27
Posts: 20
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... :oops:
thanks ;)


Top
 Profile  
 
 Post subject:
PostPosted: Sat Feb 19, 2005 18:04 
Offline

Joined: Sun May 05, 2002 22:05
Posts: 2063
Location: Lappeenranta, Finland
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.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Feb 19, 2005 20:28 
Offline

Joined: Wed Jan 12, 2005 23:27
Posts: 20
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!


Top
 Profile  
 
 Post subject:
PostPosted: Mon Feb 21, 2005 15:20 
Offline

Joined: Wed Jan 12, 2005 23:27
Posts: 20
hi!

Henri, ive a problem with mi library, when i send an image to the display, that is my result

Image

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!


Top
 Profile  
 
 Post subject: Bingo
PostPosted: Tue Feb 22, 2005 0:05 
Offline

Joined: Mon Aug 04, 2003 20:01
Posts: 9
Location: Brazil
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.


Top
 Profile  
 
 Post subject: LCD
PostPosted: Tue Mar 01, 2005 13:25 
Offline

Joined: Mon Aug 04, 2003 20:01
Posts: 9
Location: Brazil
Hi,
This my first work with lcd. I damaged the leds because i don´t used resistor.
Image


Top
 Profile  
 
 Post subject:
PostPosted: Sat Mar 05, 2005 0:48 
Offline

Joined: Wed Jan 12, 2005 23:27
Posts: 20
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!


Top
 Profile  
 
 Post subject:
PostPosted: Mon Mar 07, 2005 3:39 
Offline

Joined: Sun May 02, 2004 4:28
Posts: 19
Location: Brazil
Hi,

See this rgb8 convertert.
I not tested it.

http://www.lcdmania.net/files/RGB8_CONVERTER.exe

Junior

_________________
---=[ Junior ]=---
www.lcdmania.net


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 288 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6, 7, 8 ... 20  Next

All times are UTC + 2 hours


Who is online

Users browsing this forum: No registered users and 23 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group