CN105426188B - Starting-up interface generation method based on Dot-Matric LCD Display controller - Google Patents
Starting-up interface generation method based on Dot-Matric LCD Display controller Download PDFInfo
- Publication number
- CN105426188B CN105426188B CN201510782659.1A CN201510782659A CN105426188B CN 105426188 B CN105426188 B CN 105426188B CN 201510782659 A CN201510782659 A CN 201510782659A CN 105426188 B CN105426188 B CN 105426188B
- Authority
- CN
- China
- Prior art keywords
- pixel
- data
- dot
- lcd display
- bitmap
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/4401—Bootstrapping
Abstract
The present invention provides a kind of starting-up interface generation method based on Dot-Matric LCD Display controller, and this method includes step 1:The data model of BMP bitmaps is established, opens BMP bitmap files in the form of text;Step 2:Establish Dot-Matric LCD Display data model, it is intermediate two-dimensional array first to establish a two-dimentional byte type array with ranks as unit of pixel, the data acquisition system of the data model of BMP bitmaps is converted into the switching value data 0,1 as unit of pixel by the intermediate two-dimensional array according to the digit of different each pixels, then drives different scan modes to generate Dot-Matric LCD Display data model further according to lattice lcd;Step 3:Controller is downloaded to show, buffer area is not lost in the power down of one storage Dot-Matric LCD Display data of controller internal preset, when starting-up interface to be shown, it is loaded into BMP bitmaps to be shown and then downloads to the buffer area of the starting-up interface of controller, operating procedure 12.
Description
Technical field
The present invention relates to a kind of starting-up interface generation methods, specifically, relate to a kind of based on Dot-Matric LCD Display control
The starting-up interface generation method of device processed.
Background technology
Starting-up interface, which is based on manufacturer, sale agent or user, its important meaning, is not only brand effect, stealth
Publicity effect, and it is a kind of unitized, be switched on beautyization, is a kind of symbol of regular enterprise.The life that starting-up interface is finally realized
Production producer, will also be to the starting-up interface of sale agent and user other than product line out carries out the starting-up interface of our company
It is required that painstakingly, it is cumbersome do one and another customization model, be not only limited to a lot of products, just also for a kind of product
It is possible that separating a variety of models, the management of corresponding product, the maintenance in later stage causes the waste of prodigious human and material resources.In view of
The importance of starting-up interface, people are seeking always a kind of ideal technical solution.
Invention content
That in view of the deficiencies of the prior art, it is an object of the present invention to provide a kind of operations is unified, flexibly, it is easy to accomplish based on
The starting-up interface generation method of Dot-Matric LCD Display controller.
To achieve the goals above, the technical solution adopted in the present invention is:One kind being based on Dot-Matric LCD Display controller
Starting-up interface generation method, this approach includes the following steps:
Step 1:Establish the data model of BMP bitmaps
The data model includes Data Position, bitmap width, Bitmap Height, the digit of each pixel and data acquisition system, institute
Bitmap width and the Bitmap Height are stated as unit of pixel, the digit of each pixel is the numerical value explained in data acquisition system
How many positions are a pixels, and the data acquisition system is the data of bitmap storage;
BMP bitmap files are opened in the form of text, wherein address 1 is as first data read in file, data
Form is low byte preceding, and high byte is rear;Address 11-14 is as Data Position, and address 19-22 is as bitmap width, address
23-26 is as Bitmap Height, digits of the address 29-30 as each pixel, address(Data Position-((Bitmap width * bitmaps are high
Degree)* digit/8 of each pixel))As data acquisition system;The access mode of pixel is suitable by from left to right, from top to bottom
Sequence;
Step 2:Dot-Matric LCD Display data model is established, a two dimension with ranks as unit of pixel is first established
Byte type array is intermediate two-dimensional array, and the intermediate two-dimensional array is the data acquisition system of the data model of BMP bitmaps according to not
The digit of same each pixel is converted into the switching value data 0,1 as unit of pixel, is then driven further according to lattice lcd
Different scan modes generates Dot-Matric LCD Display data model;
Step 3:It downloads to controller to show, in the power down of one storage Dot-Matric LCD Display data of controller internal preset
Buffer area is not lost, when starting-up interface to be shown, BMP bitmaps to be shown is loaded into and then downloads to the starting-up interface of controller
Buffer area, operating procedure 1-2.
The present invention has substantive distinguishing features outstanding and marked improvement compared with the prior art, and specifically, the present invention passes through
The data model and Dot-Matric LCD Display data model for establishing BMP bitmaps are realized that the former arrives the conversion of the latter's different situations, are had
Click lower button can desired BMP bitmap-converteds at the generation method of the controller starting-up interface of Dot-Matric LCD Display,
Has the advantages that working specification, flexible, simple.
Specific implementation mode
Below by specific implementation mode, technical scheme of the present invention will be described in further detail.
A kind of starting-up interface generation method based on Dot-Matric LCD Display controller, this approach includes the following steps:
Step 1:Establish the data model of BMP bitmaps
The data model includes Data Position, bitmap width, Bitmap Height, the digit of each pixel and data acquisition system, institute
Bitmap width and the Bitmap Height are stated as unit of pixel, the digit of each pixel is the numerical value explained in data acquisition system
How many positions are a pixels, and the data acquisition system is the data of bitmap storage;
BMP bitmap files are opened in the form of text, wherein address 1 is as first data read in file, data
Form is low byte preceding, and high byte is rear;Address 11-14 is as Data Position, and address 19-22 is as bitmap width, address
23-26 is as Bitmap Height, digits of the address 29-30 as each pixel, address(Data Position-((Bitmap width * bitmaps are high
Degree)* digit/8 of each pixel))As data acquisition system;The access mode of pixel is suitable by from left to right, from top to bottom
Sequence;
Step 2:Dot-Matric LCD Display data model is established, a two dimension with ranks as unit of pixel is first established
Byte type array is intermediate two-dimensional array, and the intermediate two-dimensional array is the data acquisition system of the data model of BMP bitmaps according to not
The digit of same each pixel is converted into the switching value data 0,1 as unit of pixel, is then driven further according to lattice lcd
Different scan modes generates Dot-Matric LCD Display data model;
Step 3:It downloads to controller to show, in the power down of one storage Dot-Matric LCD Display data of controller internal preset
Buffer area is not lost, when starting-up interface to be shown, BMP bitmaps to be shown is loaded into and then downloads to the starting-up interface of controller
Buffer area, operating procedure 1-2.
When specific implementation, in step 2, intermediate two-dimensional array is the data acquisition system of the data model of BMP bitmaps according to difference
The digit of each pixel when being converted into switching value data 0,1 as unit of pixel, including intermediate two-dimensional array is transferred to
With producing for intermediate two-dimensional array;
Intermediate two-dimensional array is transferred to, the digit of different each pixels, and it is a pixel to represent how many position, is also represented
The value that this pixel represents more, the value have 1(It is monochromatic), 4(16 colors), 8(256 colors), 16(64K colors, high color), 24(16M
Color, true color), 32(4096M colors, enhanced true color), greyish white can be become according to shading value colour for these values
Then color becomes monochromatic, i.e. black and white with a median further according to canescence than size, that is, intermediate two-dimensional array is with picture
Vegetarian refreshments is the switching value data 0 and 1 of unit, can allow it is black=1, it is white=0 can also allow it is black=0, white=1 final effect for accomplishing inverse
Fruit;
Intermediate two-dimensional array produces, and different lattice lcds drives scan mode, represents pixel in different ways
It is arranged, either arranges row scanning, rank scanning, progressively scan, scan by column, the value of intermediate two-dimensional array can be pressed
Different scan modes corresponds in assignment to the display data of lattice lcd.
Finally it should be noted that:The above embodiments are merely illustrative of the technical scheme of the present invention and are not intended to be limiting thereof;To the greatest extent
The present invention is described in detail with reference to preferred embodiments for pipe, those of ordinary skills in the art should understand that:Still
It can modify to the specific implementation mode of the present invention or equivalent replacement is carried out to some technical characteristics;Without departing from this hair
The spirit of bright technical solution should all cover within the scope of the technical scheme claimed by the invention.
Claims (1)
1. a kind of starting-up interface generation method based on Dot-Matric LCD Display controller, it is characterised in that:This method includes following
Step:
Step 1:Establish the data model of BMP bitmaps
The data model includes Data Position, bitmap width, Bitmap Height, the digit of each pixel and data acquisition system, institute's rheme
As unit of pixel, the digit of each pixel is to explain how much is numerical value in data acquisition system for figure width and the Bitmap Height
Position is a pixel, and the data acquisition system is the data of bitmap storage;
BMP bitmap files are opened in the form of text, wherein address 1 is as first data read in file, data mode
It is low byte preceding, high byte is rear;Address 11-14 is as Data Position, and address 19-22 is as bitmap width, address 23-26
As Bitmap Height, digits of the address 29-30 as each pixel, address(Data Position-((Bitmap width * Bitmap Heights)*
Digit/8 of each pixel))As data acquisition system;The access mode of pixel is by sequence from left to right, from top to bottom;
Step 2:Dot-Matric LCD Display data model is established, a two-dimentional byte with ranks as unit of pixel is first established
Type array is intermediate two-dimensional array, and the intermediate two-dimensional array is the data acquisition system of the data model of BMP bitmaps according to different
The digit of each pixel is converted into the switching value data 0,1 as unit of pixel, is then driven further according to lattice lcd different
Scan mode generate Dot-Matric LCD Display data model;
Step 3:It downloads to controller to show, not lost in the power down of one storage Dot-Matric LCD Display data of controller internal preset
Buffer area is lost, when starting-up interface to be shown, BMP bitmaps to be shown is loaded into and then downloads to the slow of the starting-up interface of controller
Deposit area, operating procedure 1-2.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510782659.1A CN105426188B (en) | 2015-11-16 | 2015-11-16 | Starting-up interface generation method based on Dot-Matric LCD Display controller |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510782659.1A CN105426188B (en) | 2015-11-16 | 2015-11-16 | Starting-up interface generation method based on Dot-Matric LCD Display controller |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105426188A CN105426188A (en) | 2016-03-23 |
CN105426188B true CN105426188B (en) | 2018-09-14 |
Family
ID=55504418
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510782659.1A Active CN105426188B (en) | 2015-11-16 | 2015-11-16 | Starting-up interface generation method based on Dot-Matric LCD Display controller |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105426188B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106292638B (en) * | 2016-08-31 | 2018-09-14 | 郑州众智科技股份有限公司 | The generation method of starting-up interface based on generator set controller |
CN107492354B (en) * | 2017-07-31 | 2020-11-06 | 郑州众智科技股份有限公司 | Dot matrix liquid crystal generator set controller-based multi-language implementation method |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6574684B1 (en) * | 2000-01-19 | 2003-06-03 | Winbond Electronics Corp. | Monitor comprising two-way interface |
CN104503769A (en) * | 2015-01-07 | 2015-04-08 | 山东鲁能智能技术有限公司 | Character dot matrix liquid crystal interface implementation method based on XML (extensive markup language) configuration file |
CN104765616A (en) * | 2015-04-29 | 2015-07-08 | 北京经纬恒润科技有限公司 | Method and system for generating IO model automatically |
-
2015
- 2015-11-16 CN CN201510782659.1A patent/CN105426188B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6574684B1 (en) * | 2000-01-19 | 2003-06-03 | Winbond Electronics Corp. | Monitor comprising two-way interface |
CN104503769A (en) * | 2015-01-07 | 2015-04-08 | 山东鲁能智能技术有限公司 | Character dot matrix liquid crystal interface implementation method based on XML (extensive markup language) configuration file |
CN104765616A (en) * | 2015-04-29 | 2015-07-08 | 北京经纬恒润科技有限公司 | Method and system for generating IO model automatically |
Also Published As
Publication number | Publication date |
---|---|
CN105426188A (en) | 2016-03-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN204390639U (en) | A kind of have the Novel advertising machine facilitating mobile phone to charge | |
DE102020106714A1 (en) | METHODS AND EQUIPMENT FOR COMPLEX ASSEMBLY VIA AUTONOMOUS ROBOTS WITH REINFORCEMENT LEARNING PRIMITIVES | |
CN109345612B (en) | Image generation method, device, equipment and storage medium | |
CN105426188B (en) | Starting-up interface generation method based on Dot-Matric LCD Display controller | |
CN107330961A (en) | A kind of audio-visual conversion method of word and system | |
CN106128371A (en) | A kind of device, display device and the method that picture brightness strengthens | |
CN106030652A (en) | Method of and apparatus for displaying an output surface in data processing systems | |
US20200193891A1 (en) | Display method, display device, and display | |
CN107402734A (en) | A kind of method that text definition is automatically adjusted with screen resolution | |
WO2020228346A1 (en) | Transformer substation three-dimensional digital modeling method, system and device and storage medium | |
CN104933997B (en) | Liquid crystal display device and its driving method | |
CN103064919A (en) | Method and device for preserving configuration parameters in business system | |
CN107862054A (en) | A kind of pattern rendering intent | |
CN109977155A (en) | A kind of big data visualization system and its control method based on human-computer interaction | |
CN103902186B (en) | Method for decomposing folder in desktop application | |
CN108288296A (en) | The picture batch coloring method of digital picture painting methods and digital publication | |
CN106292638B (en) | The generation method of starting-up interface based on generator set controller | |
CN109725792A (en) | A kind of drawing method based on question and answer interaction | |
Hu | Exploring Contemporary Visualizations of Traditional Chinese Symbols: A Case of Tea Packaging Design | |
CN110689001A (en) | Method for generating license plate training sample in complex environment | |
CN107492354A (en) | A kind of implementation method multi-lingual based on lattice lcd generator set controller | |
CN101847252B (en) | Image amplification method for maintaining image smoothness | |
CN106898309B (en) | A kind of EFD matrix display driving method and device | |
CN204032903U (en) | A kind of dynamic show window device of wire suspension type intelligent based on human body infrared induction | |
CN105679129B (en) | Classroom instruction tablet computer and smart pen interaction systems and method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |