LCDInfo.com

http://www.lcdinfo.com
It is currently Fri Nov 22, 2024 5:35

All times are UTC + 2 hours




Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: Tue Mar 14, 2006 2:24 
Offline

Joined: Tue Mar 14, 2006 1:04
Posts: 2
1-

i can't understande how he put this value to each color:
red&green (0,2,4,6,8,10,12,15),blue(0,4 ,9 ,15)
what indicate this value and how he put it from data sheet?????????? :cry:

spi_command(RGBSET8); // setup color lookup table
// color table
//RED
spi_data(0);
spi_data(2);
spi_data(4);
spi_data(6);
spi_data(8);
spi_data(10);
spi_data(12);
spi_data(15);
// GREEN
spi_data(0);
spi_data(2);
spi_data(4);
spi_data(6);
spi_data(8);
spi_data(10);
spi_data(12);
spi_data(15);
//BLUE
spi_data(0);
spi_data(4);
spi_data(9);
spi_data(15);
---------------------------------------------------
2- how he know that 28 is green color:

spi_command(RAMWR); // write some stuff (background)
for (i = 0; i < 18000; i++){
spi_data(28); // 28 is green
}
----------------------------------------------
3-how i can accses certain pixel in lcd and how i can control color of it?
----------------------------------------------
how he use this 2 command :
spi_command(PASET); // page start/end ram
spi_data(2); // for some reason starts at 2
spi_data(131);

spi_command(CASET); // column start/end ram
spi_data(0);
spi_data(131);
value from 2-131what mean and i want more details about ddram how ican work with it? becouse i cant understand how it divided?

in data sheet he put(paset)COMMAND:
for parametre(p1)start page (D0-D7)(P10...P17) WHAT THIS VALUE(P10-P17) AND LIKE THAT IN CASET?
--------------------------------------------
i think by this solving this problem my problem will solve
thank u for any help :)


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC + 2 hours


Who is online

Users browsing this forum: No registered users and 16 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