electroRF
Member
the Graphic LCD I ordered has resolution of 160X128.
I'd like to calculate how much memory I'll need in order to store an image that is to be displayed.
I made the following calculation:
1. 160X128 is 20,480 pixels.
2. Each Pixel's color is set by 2-bytes (R,G,B in 5,6,5 configuration).
3. That means that in order to load an image on the LCD, I need my PIC to hold a memory of 20,480 X 2-Bytes = 40,960 Bytes, i.e. 40KB memory size.
Is that correct?
Thank you![Smile :) :)](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
I'd like to calculate how much memory I'll need in order to store an image that is to be displayed.
I made the following calculation:
1. 160X128 is 20,480 pixels.
2. Each Pixel's color is set by 2-bytes (R,G,B in 5,6,5 configuration).
3. That means that in order to load an image on the LCD, I need my PIC to hold a memory of 20,480 X 2-Bytes = 40,960 Bytes, i.e. 40KB memory size.
Is that correct?
Thank you
Last edited: