LCDInfo.com

http://www.lcdinfo.com
It is currently Fri Nov 22, 2024 10:11

All times are UTC + 2 hours




Post new topic Reply to topic  [ 63 posts ]  Go to page Previous  1, 2, 3, 4, 5  Next
Author Message
 Post subject:
PostPosted: Sun Aug 28, 2005 17:55 
Offline

Joined: Wed Jul 27, 2005 8:47
Posts: 9
Location: Moscow, Russia
45 ms, u use SED1335 controller?

_________________
AC/DC \m/ =)


Top
 Profile  
 
 Post subject:
PostPosted: Sun Aug 28, 2005 17:57 
Offline

Joined: Wed Jul 27, 2005 8:47
Posts: 9
Location: Moscow, Russia
How match does it take if use SED1335 controoller, and have u ever work with external CG RAM on SED1335, when M1 flag set to 1 (M1=1)?

_________________
AC/DC \m/ =)


Top
 Profile  
 
 Post subject:
PostPosted: Sun Aug 28, 2005 18:12 
Offline

Joined: Wed Aug 03, 2005 20:27
Posts: 130
Location: .fi
The 45ms was with SED1335. Haven't used the character features at all, only graphics.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Aug 28, 2005 18:13 
Offline

Joined: Wed Aug 03, 2005 20:27
Posts: 130
Location: .fi
More fun in 160x128...

http://oms.wmhost.com/lcd/wet_optrex.avi


Last edited by Zee on Fri May 19, 2006 13:49, edited 1 time in total.

Top
 Profile  
 
 Post subject:
PostPosted: Mon Aug 29, 2005 7:51 
Offline

Joined: Wed Aug 03, 2005 20:27
Posts: 130
Location: .fi
320x240 pixels driven by SED1335...

Difficult screen to film, and with all the bus noise when there's lots of data flowing.

http://oms.wmhost.com/lcd/sed1335.avi


Last edited by Zee on Fri May 19, 2006 13:50, edited 1 time in total.

Top
 Profile  
 
 Post subject:
PostPosted: Mon Aug 29, 2005 9:43 
Offline
User avatar

Joined: Sat Aug 27, 2005 22:19
Posts: 3
Location: Bulgaria
Well, my program takes about 30ms to load 84*48 image thru USB, but eating up a lot of processor time, because of scanning bitmap image pixel per pixel. Is there any solution to that?


Top
 Profile  
 
 Post subject:
PostPosted: Mon Aug 29, 2005 9:53 
Offline

Joined: Wed Aug 03, 2005 20:27
Posts: 130
Location: .fi
It's best to convert the imagedata to the format used by the display before sending it to the controller and then just set the address to the start of the screen memory and send the data byte after byte in one go.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Aug 29, 2005 10:02 
Offline

Joined: Wed Aug 03, 2005 20:27
Posts: 130
Location: .fi
This is pretty much how I convert 84x48 1-bit BMP before sending it to PCD8544 used in Nokia displays.

Code:
for(y = 0; y < 48; y++)
{
    for(x = 0; x < 84; x++)
    {
        if (bmp[bmp[10]+(12*(47-y)+(x>>3))] & 1<<(7-(x&7)))
        {
            buffer[x+(84*(y>>3))] = buffer[x+(84*(y>>3))] | 1<<(y&7);
        }
    }
}


Top
 Profile  
 
 Post subject:
PostPosted: Mon Aug 29, 2005 10:22 
Offline
User avatar

Joined: Sat Aug 27, 2005 22:19
Posts: 3
Location: Bulgaria
Pretty same as mine:

Code:
   For Line:= 0 to 5 do         // Repeat 6 times for 6 lines
    begin
     For x:= 0 to 83 do  // Scan horizontally
      begin
        for y:= 0 to 7 do       // Scan vertically 8 dots
           If BMP.Canvas.pixels[x,y+Line*8] > clBlack then
            templine := (templine shr 1) and $7F // shifting a pixel into a character
           else
           templine := (templine shr 1) or $80;
        tUSb := tUSB + LineToS(Chr(templine)); // Collecting characters into tUSB
        end;  // Here we have a whoile line of LCD data (84x8)
     Write_USB_String(tUSB);
     tUSB := '';
     end;

This works really fast. There is a thread that calls this routine every 50ms....I can't really understand why is so heavy for a computer to handle (30% processor time on WindowsXP-AMD Athlon 1.83GHz 8O )


Top
 Profile  
 
 Post subject:
PostPosted: Mon Aug 29, 2005 12:18 
Offline

Joined: Wed Aug 03, 2005 20:27
Posts: 130
Location: .fi
If you're calling it that often, changing ( Line*8 ) into ( Line shl 3 ) might help a little, depending on the language used.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Aug 29, 2005 21:51 
Offline

Joined: Mon Jun 20, 2005 23:03
Posts: 161
Location: Hong Kong
Nice demos.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Sep 05, 2005 20:02 
Offline

Joined: Mon Jun 20, 2005 23:03
Posts: 161
Location: Hong Kong


Last edited by Michael on Thu Aug 10, 2006 23:40, edited 1 time in total.

Top
 Profile  
 
 Post subject:
PostPosted: Mon Sep 05, 2005 20:14 
Offline

Joined: Mon Jun 20, 2005 23:03
Posts: 161
Location: Hong Kong


Last edited by Michael on Thu Aug 10, 2006 23:40, edited 1 time in total.

Top
 Profile  
 
 Post subject:
PostPosted: Mon Sep 05, 2005 20:20 
Offline

Joined: Mon Jun 20, 2005 23:03
Posts: 161
Location: Hong Kong


Last edited by Michael on Thu Aug 10, 2006 23:40, edited 1 time in total.

Top
 Profile  
 
 Post subject:
PostPosted: Mon Sep 05, 2005 20:23 
Offline

Joined: Mon Jun 20, 2005 23:03
Posts: 161
Location: Hong Kong


Last edited by Michael on Thu Aug 10, 2006 23:40, edited 1 time in total.

Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 63 posts ]  Go to page Previous  1, 2, 3, 4, 5  Next

All times are UTC + 2 hours


Who is online

Users browsing this forum: No registered users and 3 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:  
cron
Powered by phpBB® Forum Software © phpBB Group