1.3 inch lcd module brands
1. Install the juj\fbcp-ili9341 driver built specifically for LCD hats like this. This mirrors all or part of your HDMI output to the LCD so that you don"t have to use proprietary libraries. The driver supports scaling your entire display down to 240x240 (typically 240x135 if you"re scaling down from 1080p) or you can get pixel perfect displays by setting the crop flag. Whatever is in the center 240x240 of your HDMI display is what gets mirrored to the hat"s 240x240 screen. For example, I use a browser in kiosk mode to display a screen-centered 240x240 div. Works great!
2. The module_init() function is automatically called in the INIT () initializer on the LCD, but the module_exit() function needs to be called by itself
Python has an image library PIL official library link, it do not need to write code from the logical layer like C, can directly call to the image library for image processing. The following will take 1.54inch LCD as an example, we provide a brief description for the demo.
The demo is developed based on the HAL library. Download the demo, find the STM32 program file directory, and open the LCD_demo.uvprojx in the STM32\STM32F103RBT6\MDK-ARM directory to check the program.
For the screen, if you need to draw pictures, display Chinese and English characters, display pictures, etc., you can use the upper application to do, and we provide some basic functions here about some graphics processing in the directory STM32\STM32F103RB\User\GUI_DEV\GUI_Paint.c(.h)
image.cpp(.h): is the image data, which can convert any BMP image into a 16-bit true color image array through Img2Lcd (downloadable in the development data).
The TFT display provides a semiconductor switch for each pixel and each pixel is directly controlled by pulse. Therefore, each node is relatively independent and can be continuously controlled, which not only improves the response speed of the display, but also can be accurately controlled. The color level is displayed to make the TFT LCD color more realistic, the brightness is good, the contrast is high, the layering is strong and the color is bright.
A wide variety of lcd module 1.3 options are available to you, You can also choose from original manufacturer, odm and agency lcd module 1.3,As well as from tft, ips, and standard.