2709 views|3 replies

10

Posts

0

Resources
The OP
 

【Topmicro Intelligent Display Module】Part 4: Comprehensive evaluation of text scrolling, RTC, etc. [Copy link]

Topmicro intelligent display module has powerful text display capabilities, including static strings, dynamic strings, and switching between Chinese and English.

The display string is designed as follows:

Step 1: Create VP variables

○1 Right-click "String Variable" in the Project Resource Bar
○2 Select "New VP (Automatic)"
○3 Rename VP to "Text Display", as shown below:

Step 2: Create a string control
○1 Right-click "String Variable" in the project resource bar
○2 Select "New VP (Automatic)"
○3 Rename VP to "Text Display",
○1 Click "String" in the toolbar or press the shortcut key Ctrl + T
○2 Create a string control in the PG0000 page
Step 3 Set the string control properties

○1 Set font "32_ASCII_NewSong (16x32)"
○2 Set font color (red = 0xFF0000)
○3 Set background color (blue = 0xFFFF00)
○4 Set VP address 0x000080-text display
Other properties follow default values

The effect diagram is as follows: , the text can be scrolled and displayed, but unfortunately the text can only display 127 characters at most.

Display Chinese characters
○1 The "font" attribute needs to be set to a Chinese font, such as: 24_GB2312_SONG (24x24)
○2 Re-download the project
○3 Write the data "Top Micro" string to VP address: 0x00000080 through the serial port
To display the "Top Micro" content, send the following command:
AA 42 00000080 CD D8 C6 D5 CE A2 00 CC 33 C3 3C
- To display Chinese, the font attribute must be set to the Chinese font library. Displaying other fonts is similar.
- The last character must be the '\0' end character (i.e. 0x00)
- The Chinese characters should be sent according to the selected font library, whether it is GB2312 or GBK, etc.
The corresponding encoding of the Chinese characters.
- In this example, the GB2312 encoding corresponding to "Top Micro" is: CDD8 C6D5 CEA2

Analog clock: RTC can be corrected online


This post is from Test/Measurement

Latest reply

The RJ45 network port function of this smart LCD screen is its feature, which can be remotely updated and controlled through the Internet. It is recommended to try it!   Details Published on 2021-11-27 10:29
 
 

9720

Posts

24

Resources
2
 

If this Taiwan return timing can be successful, Topmicro will have made a great contribution.

This post is from Test/Measurement
Personal signature虾扯蛋,蛋扯虾,虾扯蛋扯虾
 
 
 

6788

Posts

2

Resources
3
 

This design is very meaningful, and the tutorial is very detailed! Thumbs up!

This post is from Test/Measurement
 
 
 

76

Posts

2

Resources
4
 

The RJ45 network port function of this smart LCD screen is its feature, which can be remotely updated and controlled through the Internet. It is recommended to try it!

This post is from Test/Measurement
 
 
 

Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list