Difference between revisions of "GRID Дисплей"
Jump to navigation
Jump to search
Line 10: | Line 10: | ||
|{{SB Infobox Device General Information/ru | |{{SB Infobox Device General Information/ru | ||
|type=YOLOL | |type=YOLOL device | ||
|function= | |function=Displays information | ||
|size= | |size= | ||
Line 28: | Line 28: | ||
|{{SB Infobox Header | |{{SB Infobox Header | ||
|image=[[Image:Grid Display (basic).png]] | |image=[[Image:Grid Display (basic).png]] | ||
|name= | |name=Grid Display Basic | ||
}} | }} | ||
Line 53: | Line 53: | ||
|{{SB Infobox Header | |{{SB Infobox Header | ||
|image=[[Image:Grid Display (advanced).png]] | |image=[[Image:Grid Display (advanced).png]] | ||
|name=Advanced | |name=Grid Display chip Advanced | ||
}} | }} | ||
Line 99: | Line 99: | ||
{|class="wikitable" | {|class="wikitable" | ||
! YOLOL | ! YOLOL field | ||
! | ! description | ||
! | ! range | ||
|- | |- | ||
! '''GridDisplayOnState''' | ! '''GridDisplayOnState''' | ||
| | | Turns the entire screen on/off | ||
| 0/1, | | 0/1, 0 is off, everything else is on. | ||
|- | |- | ||
! '''GridDisplayTextHue''' | ! '''GridDisplayTextHue''' | ||
| | | Sets the colour | ||
| 0 - 360 | | 0 - 360 | ||
|- | |- | ||
! '''CursorX''' | ! '''CursorX''' | ||
| | | Sets the X value of the square the edit cursor is at | ||
| 1 - 25 | | 1 - 25 | ||
|- | |- | ||
! '''CursorY''' | ! '''CursorY''' | ||
| | | Sets the Y value of the square the edit cursor is at | ||
| 1 - 25 | | 1 - 25 | ||
|- | |- | ||
! '''ShowCursor''' | ! '''ShowCursor''' | ||
| | | Sets whether to highlight the grid square the cursor is placed on. | ||
| 0/1 | | 0/1 | ||
|- | |- | ||
! '''MoveCursor''' | ! '''MoveCursor''' | ||
| | | When enabled cursor automatically moves to next grid square after inputting max length string. | ||
| 0/1 | | 0/1 | ||
|- | |- | ||
! '''ClearGrid''' | ! '''ClearGrid''' | ||
| | | When enabled contents of the display is cleared. Cursor Moves to first cell of the grid. | ||
| 0/1 | | 0/1 | ||
|- | |- | ||
! '''Input''' | ! '''Input''' | ||
| | | Adjusts the screen contents starting from the cursor's grid square | ||
| | | String: inputs text one character per square, wrapping automatically to next line start when reaching end of line, top left when reaching end of grid | ||
|} | |} | ||
Line 139: | Line 139: | ||
{|class="wikitable" | {|class="wikitable" | ||
! YOLOL | ! YOLOL field | ||
! | ! description | ||
! | ! range | ||
|- | |- | ||
! '''GridDisplayOnState''' | ! '''GridDisplayOnState''' | ||
| | | Turns the entire screen on/off | ||
| 0/1, | | 0/1, 0 is off, everything else is on. | ||
|- | |- | ||
! '''SelectedLayer''' | ! '''SelectedLayer''' | ||
| | | Selects the layer to make changes to | ||
| 0 - 3 | | 0 - 3 | ||
|- | |- | ||
! '''GridLayerTextHue''' | ! '''GridLayerTextHue''' | ||
| | | Sets the hue colour of the layer's contents | ||
| 0 - 360 | | 0 - 360 | ||
|- | |- | ||
!'''LayerGridSize''' | !'''LayerGridSize''' | ||
| | | Scales the grid on the selected layer - effectively setting font size | ||
| 1 - 25 | | 1 - 25 | ||
|- | |- | ||
! '''LayerGridOffsetX''' | ! '''LayerGridOffsetX''' | ||
| | | Sets the grid's X offset from the screen's middle | ||
| 0 - 24 | | 0 - 24 | ||
|- | |- | ||
! '''LayerGridOffsetY''' | ! '''LayerGridOffsetY''' | ||
| | | Sets the grid's Y offset from the screen's middle | ||
| 0 - 24 | | 0 - 24 | ||
|- | |- | ||
! '''CursorX''' | ! '''CursorX''' | ||
| | | Sets the X value of the square the edit cursor is at - cursor is layer-specific | ||
| 1 - 25 | | 1 - 25 | ||
|- | |- | ||
! '''CursorY''' | ! '''CursorY''' | ||
| | | Sets the Y value of the square the edit cursor is at - cursor is layer-specific | ||
| 1 - 25 | | 1 - 25 | ||
|- | |- | ||
! '''ShowCursor''' | ! '''ShowCursor''' | ||
| | | Sets whether to highlight the grid square the cursor is placed on on the active layer | ||
| 0/1 | | 0/1 | ||
|- | |- | ||
! '''MoveCursor''' | ! '''MoveCursor''' | ||
| | | When enabled cursor automatically moves to next grid square after inputting max length string. | ||
| 0/1 | | 0/1 | ||
|- | |- | ||
! '''ClearLayerGrid''' | ! '''ClearLayerGrid''' | ||
| | | When enabled contents of the display is cleared. Cursor Moves to first cell of the grid. | ||
| 0/1 | | 0/1 | ||
|- | |- | ||
! '''Input''' | ! '''Input''' | ||
| | | Adjusts the screen contents starting from the cursor's grid square | ||
| | | String: inputs text one character per square, wrapping automatically to next line start when reaching end of line, top left when reaching end of grid Number: 0 clears layer contents and resets all layer-specific values, others act as references to a picture library and draw the referred to picture within the selected square | ||
|} | |} | ||
* [[ | * [[Universal tool|Universal Tool]] | ||
* [[ | * [[Data networks|Data networks]] | ||
* [[YOLOL | * [[YOLOL|YOLOL]] | ||
[[Category:Устройства и механизмы]] | [[Category:Устройства и механизмы]] |
Revision as of 00:57, 7 July 2022
GRID-дисплеи являются экранами вывода информации с помощью ASCII символов, разрешением 25х25 символов, с возможностью гибкого управления через YOLOL для сложного представления данных. GRID-дисплей можно использовать, подключив его к панели управления.
Виды дисплеев
Grid Display Basic
Размер 48×48×3 cm
Масса 62.57 кг
Объем 6.91 кВокс
Сопротивление коррозии 510
Основной материал Bastium
Потребление / Расход
Потребление электричества 0.01 e/s
Состав
Основная информация
- GRID-дисплей представляет собой двумерный массив символов, где каждая ячейка содержит один текстовый символ
- Редактирование содержимого символьного массива осуществляется через поля GRID-дисплея:
- Выберите ячейку для редактирования, переместив на нее курсор, используя поля CursorX и CursorY
- В поле Input введите текст, который вы хотите отобразить на дисплее:
- Текст записывается посимвольно в каждую ячейку, с переносом текста на новую строку при достижении конца текущей строки
Возможности Advanced-дисплея
- Использование слоев:
- Слои можно переключать с помощью мультитула или YOLOL
- Дисплей имеет ограниченное количество слоев (4 слоя)
- Размер и позиция слоя устанавливается относительно центра дисплея
- Слой может выходить за пределы физического экрана - символы, выходящие за границы экрана, не будут отрисованы
Поля устройств
Базовый дисплей
YOLOL field | description | range |
---|---|---|
GridDisplayOnState | Turns the entire screen on/off | 0/1, 0 is off, everything else is on. |
GridDisplayTextHue | Sets the colour | 0 - 360 |
CursorX | Sets the X value of the square the edit cursor is at | 1 - 25 |
CursorY | Sets the Y value of the square the edit cursor is at | 1 - 25 |
ShowCursor | Sets whether to highlight the grid square the cursor is placed on. | 0/1 |
MoveCursor | When enabled cursor automatically moves to next grid square after inputting max length string. | 0/1 |
ClearGrid | When enabled contents of the display is cleared. Cursor Moves to first cell of the grid. | 0/1 |
Input | Adjusts the screen contents starting from the cursor's grid square | String: inputs text one character per square, wrapping automatically to next line start when reaching end of line, top left when reaching end of grid |
Advanced дисплей
YOLOL field | description | range |
---|---|---|
GridDisplayOnState | Turns the entire screen on/off | 0/1, 0 is off, everything else is on. |
SelectedLayer | Selects the layer to make changes to | 0 - 3 |
GridLayerTextHue | Sets the hue colour of the layer's contents | 0 - 360 |
LayerGridSize | Scales the grid on the selected layer - effectively setting font size | 1 - 25 |
LayerGridOffsetX | Sets the grid's X offset from the screen's middle | 0 - 24 |
LayerGridOffsetY | Sets the grid's Y offset from the screen's middle | 0 - 24 |
CursorX | Sets the X value of the square the edit cursor is at - cursor is layer-specific | 1 - 25 |
CursorY | Sets the Y value of the square the edit cursor is at - cursor is layer-specific | 1 - 25 |
ShowCursor | Sets whether to highlight the grid square the cursor is placed on on the active layer | 0/1 |
MoveCursor | When enabled cursor automatically moves to next grid square after inputting max length string. | 0/1 |
ClearLayerGrid | When enabled contents of the display is cleared. Cursor Moves to first cell of the grid. | 0/1 |
Input | Adjusts the screen contents starting from the cursor's grid square | String: inputs text one character per square, wrapping automatically to next line start when reaching end of line, top left when reaching end of grid Number: 0 clears layer contents and resets all layer-specific values, others act as references to a picture library and draw the referred to picture within the selected square |