/* Copy pixels from SRAM to the screen. 
Limits have to be set prior to calling this function, e.g.:  */
void ili9325_copy_raw_pixel_24bits_to_screen(const uint8_t *raw_pixels, uint32_t count)
/* Copy pixels from SRAM to the screen. 
Limits have to be set prior to calling this function, e.g.:  */
void ili9325_copy_raw_pixel_24bits_to_screen(const uint8_t *raw_pixels, uint32_t count)
{
	ili9325_color_t pixels;
	Assert(count > 0);
	LCD_IR(0);
	LCD_IR(ILI9325_GRAM_DATA_REG);
	while (count--) {
		pixels = (*raw_pixels)  | (*(raw_pixels+1)) << 8 | *(raw_pixels+2)<<16;
		LCD_WD((pixels >> 16) & 0xFF);
		LCD_WD((pixels >> 8) & 0xFF);
		LCD_WD(pixels & 0xFF);
		raw_pixels +=3;
	}
}