Let the world be real-character lattice LCD screen

Source: Internet
Author: User

By byoy (conmajia@gmail.com)

Time: May, 2012

Cover pictures are original in byoy; Do not reference them without permission

Nobi's LCM display field LCD module control

Download
Demo

Download source code

Note! It is best to set the properties in the load event at run-time. I don't know why, the design-time attribute seems to be correct, and it will be restored as soon as it is run. As for the usage method, the text attribute is constantly modified. (Note that short strings cannot overwrite long strings. For example, if you set text = "I like money" (12) for the first time ), the second time is changed to text = "I like $" (8), the extra four characters will not be overwritten and will be displayed
"I like $ oney" (12 ). (This feature is exactly the same as the hardware. It is the result of a-1 shopping spree. There are two solutions. The first is to call the clear () method before modifying the text, and the second is to overwrite the strings with a few extra spaces, TEXT = "I like $ [space] [space] [space] [space]" (12 ).

----------------- Field break line ----------

If you do not have this in your company, you can use it in the product. I believe it will make the product look more professional.

Don't thank me. just invite me to dinner (joke, don't be serious, be careful with the boss)

 

The world outside is wonderful, and the world on the computer is too monotonous.

Multi-sport and multi-run

Enter the subject

First, I would like to ask you a question: Generally, your program needs to display some frequently changed texts. How do you do this?

For example, we need a status bar. After the status bar is started, "Ready..." is displayed to the user ...」

Use a label?

And so on. Changing the font?

Well, it seems very common. Add some color.


Omg... This color reminds me of something called an LCD screen. It's not a computer monitor, but these boys.

So, the program should be like this.

Continue to transform and make it a 1:1 imitation LCD screen, just like this.

Let's try it!

The upper part is used to design 5x8 lattice characters. The text box outputs the character data used by the single-chip microcomputer. If you do not play the single-chip microcomputer, you can ignore it completely.

(Full text)

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.