"STM32. Net MF Development Board Learning-07" full Screen bitmap without blinking

Source: Internet
Author: User

16-bit 320*240 bitmap size of 150K bytes, and for the em-stm3210e Development Board, the RAM only 128K, far enough to display a complete bitmap, Red Bull's Development Board even if there is 256K of RAM, but the plane to heap, stack and tinyclr itself, the rest is not much. , so a full-screen bitmap must be displayed in blocks.

But this brings two problems, a picture to block production, quite cumbersome, but this can upgrade the Tbconvert program, so that it supports automatic block function, this problem is solved perfectly. The next question, from the flash need a certain time, display also need a certain time, so that the process of displaying Full-screen bitmap, is from top to bottom, a piece of the picture block in turn, the effect is not very good. Fortunately LCD drive, the 7th Register can control the display process, you can update the video memory data, do not update the screen, but this process should not be too long, or LCD screen will have an ugly article appears.

After the upgrade of the Tbconvert program as follows, you can set the number of blocks to be divided, note that the height must divide the number of blocks:

Tbconvert Download Address: Http://www.sky-walker.com.cn/yefan/MFV40/TBConvert.exe

For the second issue, upgrade the Tinygui library and add the following two functions:

public static void SuspendLayout(); //挂起更新
    public static void ResumeLayout();  //恢复更新

OK, we use the drawing tool, make three 240*320 bitmap, after making good, use Tbconvert to divide into 4 paragraphs then save. Then use the Yfaccessflash tool, the three bitmap download to custom to go, before downloading remember to first empty flash (press erase button), three pictures together to download.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.