12.07.2015 Views

Technical Documentation - Barix

Technical Documentation - Barix

Technical Documentation - Barix

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

The cursor position and other features are controlled by printing standard ANSI escapesequences. Each control sequence starts with the “escape” character (ASCII code 27,hexadecimal 0x1B) followed by the '[' character (left square bracket, ASCII code 91,hexadecimal 0x5B). The following sequences are recognised:ESC [ 2 JESC [ Pn AESC [ Pn BESC [ Pn CESC [ Pn DESC [ PL ; Pc HESC [ PL ; Pc fDisplay Clearclears the display and moves cursor to the upper leftcorner of the display (position 0,0)Cursor UpMoves cursor up by the given specified of lines. If thecursor is already at the top line ignores this sequence.Cursor DownMoves cursor down by the given specified of lines. If thecursor is already at the bottom line ignores thissequence.Cursor ForwardMoves cursor right by the given specified of lines. If thecursor is already in the rightmost column ignores thissequence.Cursor BackwardMoves cursor left by the given specified of lines. If thecursor is already in the leftmost column ignores thissequence.Cursor PostitionMoves the cursor to the specified position (coordinates).If the position is not specified moves the cursor to theupper left corner. If the coordinates are out of the screenthey are clipped to the display size.Same as the previous sequence.The following abbreviations are used:Pn – stands for a decimal numberPL – stands for a line number, line 0 is the topmost linePc – stands for a column number, 0 is the leftmost columnCommandsAn alphabetic list of all display commands follows:A() - abort waiting• aborts any waiting started with the W() command• discards any unexecuted commands after the W() command (the stored context)B(x) - clear block• accepts an integer parameter• clears x characters starting from the current cursor position and advances the cursorposition accordinglyC(n) - print character• accepts an integer parameter• prints the character with ASCII code n to the current cursor positionG(n) - goto function• accepts an integer parameter• stops execution of the current function and starts executing the function number nH(x) - set display backlightBARIX AG | 40/58

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!