Skip to main content

Site Navigation

Your Account

Choose Language

Help

Revision to Duet 2 Maestro 12864 display menu system

David Crocker

* T is text to be displayed
* L is a menu or image filename to be used
* W is the width of the element in pixels. If not specified then for buttons and text items, the minimum width needed to print the text is used, with a small margin to allow for highlighting in the case of buttons.
* H is the horizontal alignment (RRF 2.02RC5 and later). 0 = left (default), 1 = centre, 2 = right. Buttons are always centre-aligned.
 
The following commands will beare supported:
The following commands will beare supported:
 
{table
|--
| text
| [Rnn] [Cnn] [Wnn] [Hn] [Fnn] T"text"
| [Rnn] [Cnn] [Wnn] [Hn] [Fnn] T"text"
| Display the specified text using the specified font.
|--
| button
| [Rnn] [Cnn] [Wnn] [Fnn] T"text" [Vnn] A"action" [L"filename"]
| [Rnn] [Cnn] [Wnn] [Fnn] T"text" [Vnn] A"action" [L"filename"]
| Display selectable text using the specified font. If the text is clicked then execute the specified action. Some actions require a filename.
|--
| value
| [Rnn] [Cnn] [Wnn] [Hn] [Fnn] [Dnn] [Wnn] Nvv
| [Rnn] [Cnn] [Wnn] [Hn] [Fnn] [Dnn] [Wnn] Nvv
| Display the specified value with the specified width to the specified number of decimal places
|--
| adjust
| [Rnn] [Cnn] [Wnn] [Hn] [Fnn] [Dnn] [Wnn] Nvv
| [Rnn] [Cnn] [Wnn] [Hn] [Fnn] [Dnn] [Wnn] Nvv
| Display the specified value with the specified width to the specified number of decimal places and allow it to be altered
|--
 
* A Gcode command string (must begin with G, M or T). In such a string, #0 represents the full name of the current file, in double quotes. When executing the 'files' command, this is the file selected by the user. When executing the 'button' command, this is copied from the L parameter.
* 'menumenu ''name''' chains to the menu file given in the L parametercalled ''name''
* 'menumenu ''name''' chains to the menu file given in the L parametercalled ''name''
* 'return' returns to the parent menu
 

To undo the changes made by this version, click 'Revert Changes.' This will automatically restore the previous version of this guide.

Revert Changes