maxcoldson / arduino-sharp-memory-lcd-gfx-library

Automatically exported from code.google.com/p/arduino-sharp-memory-lcd-gfx-library
Other
0 stars 0 forks source link

Support for 400 X 240 version? #1

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Hi,

I wanted to try this lib with the  400 X 240 version of the display. Do you 
know what is needed to get this larger display working as well?

Best regards,
Fritjof

Original issue reported on code.google.com by f.b.enge...@gmail.com on 12 Apr 2013 at 3:14

GoogleCodeExporter commented 8 years ago
Would be interested in this. One think I noticed is, that the buffer array is 
to small. Since we have a 400x240 pixel display we need an array with 12000 
bytes. Increasing the array size alone doesn't help through...

Original comment by sep....@gmail.com on 7 Jun 2013 at 1:14

GoogleCodeExporter commented 8 years ago
Doesn't look like either the Uno (2K SRAM) or the Mega (8KSRAM) have the 
capacity to have such a larger buffer. 

Original comment by dks...@gmail.com on 12 Jun 2013 at 5:48

GoogleCodeExporter commented 8 years ago
The second reply is correct, the 400x240 display requires too much memory for 
the Uno or Mega (at least without XRAM), however the Teensy 3.x; Arduino Zero, 
Arduino Due, and others would have enough memory to support it.

I actually drove the 400x240 display with a ATmega328p.  It was text mode only 
— so the technique wouldn't be valid for this library.  I used an 8x8 font 
which worked out to a 50x30 textmap (1500 bytes).  Then I wrote just the 
segment of each character for each item in the textmap.  So if you don't need 
bitmap graphics you could consider that approach.

Original comment by jockmur...@gmail.com on 22 Jun 2014 at 5:34