![]() ![]() Open the RPi Pico as drive, and then copy the bitmap files into root directory. File - Export as - image.bmp - Advanced option - 16 Bits - R5 G6 B5 Edit and resize the image into 480x320 or lesser. The GIMP is free, and open-source raster graphics editor for image manipulation and editing. 1.4 MB flash memory is available storing the bitmap files. The 480x320 image, approximate BMP file size is 300KB. Since the 320x480 (ILI9488) TFT supports RGB565, and flash memory storage is limited, then one has to convert the BMP files into RG565 (16-bit format), and re-size the image to 480 width, 320 height or smaller ![]() Next 2 bytes (0x18 to 0x19) BMP file provides number of bits per pixel. Next 2 bytes (0x16 to 0x17) BMP file provides number of color planes. Next 2 bytes (0x14 to 0x15) BMP file provides height of the BMP image, in pixels. Next 2 bytes (0x12 to 0x13) BMP file provides width of the BMP image, in pixels. ![]() Next 4 bytes (0x0E to 0x11) BMP file provides size of the header. Next 4 bytes (0x0A to 0x0D) BMP file providing the offset, i.e., starting address, of the byte where the bitmap image data (pixel array) can be found. Next 4 bytes (0x05 to 0x09) BMP file are reserved. Next 4 bytes (0x02 to 0x05) BMP file providing the file size. RPi Pico GPIO pin GPIO0, GPIO1 and GPIO2 are connected to CS, RST and DC\RS pin of TFT LCD.Īll of the integer values in a bitmap file are stored in little-endian format (i.e., least-significant byte first) The first 2 bytes of the BMP file format are the character "B" then the character "M" in ASCII encoding. RPi Pico SPI port is connected to the LCD (GPIO6 - SCLK, and GPIO7 – MOSI). The ILI9488 supports 8-colors display and sleep mode power management functions, ideal for portable products where battery power conservation is desirable, such as digital cellular phones, smart phones, MP3 players, personal media players and similar devices with color graphics displays. The ILI9488 is comprised of a 960-channel source driver, a 480-channel gate driver, 345,600 bytes of on chip GRAM for graphic data of 320 (RGB) (H) x 480 (V) x 18 dots. The ILI9488 LCD Controller is a 16.7M single-chip SoC driver for a-Si TFT liquid crystal display panels with a resolution of 320(RGB) x 480 dots. The LCD is easily interfaced with RPi Pico SPI bus, and it needs minimum of four Digital IO lines. The TFT LCD (3.5 inch, 320x480 pixel, ILI9488 LCD controller), is used for this instruct-able. ![]()
0 Comments
Leave a Reply. |