1775 views|0 replies

174

Posts

1

Resources
The OP
 

[NXP Rapid IoT Review] +6. Guide to Translation Display Elements [Copy link]

This post was last edited by chrisrh on 2019-1-19 09:40
I am always confused by the display when designing on the canvas
I only blame myself for not reading the guide carefully at the beginning
Here is a brief translation based on my own understanding
NXP Display Element Guide
Display elements
:Display page controller; Used to set touch
: System status;
: Labeled icon page;
: Selection page;
:Text page;
:Text identification page;
The display page uses a grid coordinate for navigation. The coordinates of the grid are as follows:
A coordinate represents a page. If multiple page elements occupy the same coordinate, an error will be reported during compilation;
The coordinate (0,0) represents the position of the home page, that is, the element at this coordinate will be used as the first home page of the Rapid IoT device.
Switch between pages in the form of coordinates
X/Y Coordinate: X/Y coordinates, used to indicate the pages included in the design
X/Y Span: X/Y range, I understand as 1: span, the span of pages between the same X or Y level; 2: the range of sub-pages contained under the current page;
Buttons Enabled: I understand as the side button enable control switch, used with the button to enable or disable.
Start adding pages, put display elements in the corresponding coordinate system, that is, add a display page
On the display page, no matter how far apart they are on the grid, you can navigate to the next page in the same row or column. For example, there is a page (0,0) and another page (4,0) in the same row; if you touch the right side of page (0,0), the page will jump to page (4,0), and vice versa; the double-sided arrow indicates that you can switch between the two pages.//developer.atmosphereiot.com/images/Guides/NXPDisplayElementsGuide/DisplayGuide2.svg[/img]
In the above example, add two more pages, and add coordinates (0,1) and (-1,1):
Then a downward navigation page appears on the home page (0,0)
Span X/Y transconductance
It can be understood as follows: Set Span as shown below X=4 means the horizontal axis span is 4. There can be no page elements between the coordinates (0,0) and (4,0). If there is a page such as (3,0), it will be skipped and not displayed when the package is displayed after compilation. At the same time, in the row with the vertical coordinate (?,1), such as on the pages (0,1), (1,1), (2,1) and (3,1), you can directly return to the (0,0) main page. Under different primary main pages, secondary pages can also be switched as long as they are on the same X axis. Thus, the structure of the function selection menu is formed.
Edit a simple page switching verification: Rapid IoT Weather Station.bin (421.21 KB, downloads: 0) It's a bit stupid. It took me a long time to figure out the various page switching.
This content was created by EEWORLD forum user chrisrh. If you need to reprint or use it for commercial purposes, you must obtain the author's consent and indicate the source



This post is from RF/Wirelessly
 

Guess Your Favourite
Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

快速回复 返回顶部 Return list