09.01.2013 Views

EA eDIPTFT43-A compiler help - Electronic Assembly

EA eDIPTFT43-A compiler help - Electronic Assembly

EA eDIPTFT43-A compiler help - Electronic Assembly

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.

32<br />

<strong>EA</strong> <strong>eDIPTFT43</strong>-A <strong>compiler</strong> <strong>help</strong><br />

5 <strong>EA</strong> <strong>eDIPTFT43</strong>-A commands<br />

5.1 Terminal<br />

Terminal definition:<br />

Set terminal color #FT fg,bg Preset color 1..32 for terminal mode (see<br />

default colors 61 )<br />

fg=foreground color; bg=background color;<br />

Define window #TW n1,C,L,W,H The terminal output is executed with font n1: 1=8x8;<br />

2=8x16 only within the window from column C and<br />

line L (=upper-left corner)<br />

with a width of W and a height of H (specifications in<br />

characters)<br />

Display organisation:<br />

480x272: C=1..60; L=1..34/17<br />

272x480: C=1..34; L=1..60/30<br />

Terminal off #TA Terminal display is switched off; outputs are rejected<br />

Terminal on #TE Terminal display is switched on;<br />

Cursor commands:<br />

Position cursor #TP C,L C=column; L=line; origin upper-left corner (1,1)<br />

Cursor on/off #TC n1 n1=0: Cursor is invisible;<br />

n1=1: Cursor flashes;<br />

Save cursor position #TS The current cursor position is saved<br />

Restore cursor position #TR The last saved cursor position is restored<br />

Terminal output:<br />

String for terminal #ZT "text..." Command for outputting a string (text...) from a<br />

macro to the terminal<br />

Output version #TV The version no. is output in the terminal<br />

e.g. "<strong>EA</strong> <strong>eDIPTFT43</strong>-A V1.0 Rev.A"<br />

Output projectname #TJ The macrofile-projectname is output in the terminal<br />

e.g. "init / delivery state"<br />

Output interface #TQ The used interface is output in the terminal<br />

e.g "RS232,115200 baud, ADR $07"<br />

Output informationen #TI The terminal is initialisized and cleared; the software<br />

version, hardware revision, macrofile-projectname<br />

and CRC-checksum are output in the terminal<br />

(see How-to-use example Keypad - EXPERT 82<br />

)<br />

Special ASCII-characters:<br />

Form feed FF (dec:12) The contents of the screen are deleted and the<br />

cursor is placed at pos. (1,1)<br />

Carriage return CR (dec:13) Cursor to the beginning of the line on the extreme<br />

left<br />

Line feed LF (dec:10) Cursor 1 line lower, if cursor in last line then scroll

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

Saved successfully!

Ooh no, something went wrong!