View previous topic :: View next topic |
Author |
Message |
Userrr
Joined: 09 Jul 2004 Posts: 40 Location: Europe
|
TFT code |
Posted: Sun Oct 09, 2005 4:24 pm |
|
|
Please help me write source code with C (without time limit) for this diagram
---->
|
|
|
jecottrell
Joined: 16 Jan 2005 Posts: 559 Location: Tucson, AZ
|
|
Posted: Sun Oct 09, 2005 4:47 pm |
|
|
Finally, one I can do!
Sorry, couldn't resist. |
|
|
Douglas Kennedy
Joined: 07 Sep 2003 Posts: 755 Location: Florida
|
|
Posted: Mon Oct 10, 2005 11:45 am |
|
|
Before writing code think about the timing. A PIC at 40 mhz can execute 10 million instructions per second (10 mips)
Your LCD is I assume 240 x128 pixels and will need refreshing at about 80 hz( if too slow the LCD will flicker)
So you would be working with 300,000 bytes per second that gives you with 10 mips about 30 instructions per byte. The code will have to be extremely tight to fetch the bytes break them into nibbles and send the horizontal and vertical sync pulses keep track of the line count and horizontal position and the page sync. Assume you can get that done there will be little else the pic can do. |
|
|
Userrr
Joined: 09 Jul 2004 Posts: 40 Location: Europe
|
Thanks |
Posted: Mon Oct 10, 2005 4:16 pm |
|
|
Thanks, I know that)
But how about code. I'm only want principle and algorithm.
Maybe you can offer MC to do that.
Maybe Cygnal or other.
Maybe you can see some projects with the same problem? |
|
|
neil
Joined: 08 Sep 2003 Posts: 128
|
!!!! |
Posted: Tue Oct 11, 2005 8:35 am |
|
|
Can somebody write my code for me as well?!
|
|
|
|