1.10.1 Graphic commands
Graphic commands of the BASIC language are used to draw diagrams on the
LCD. Graphic related commands are as follows:
1) Draws a dot ......................... PSET
(X, Y)
2) Erases a dot ......................... PRESET
(X, Y)
3) Draws a line ......................... LINE
(X1, Y1)
(X2, Y2)
4)
Draws a circle ........................ CIRCLE
(X, Y),
R
The PSET and
PRESET commands draws and erases a dot at the specified
X, Y
coordinates, respectively. Basically, any diagram can be drawn with these
two commands.
The LINE command draws a line between two specified sets of coordinates,
(X1, Y1)
and
(X2, Y2).
The CIRCLE command draws a circle with center at
(X, Y)
and radius of R.
Please execute the following commands.
1) LINE (0, 0) - (119, 31) RETURN
2) CIRCLE (20, 20), 10 RETURN
3) FOR N
=
1TO 31: PSET (30, N): NEXT N
Please refer to the BASIC Reference Manual for details.
45
Содержание X-07
Страница 1: ......
Страница 2: ......
Страница 8: ...1 Learning how to operate the X 07 2 Special functions and peripheral devices 3 Reference m ...
Страница 10: ...Learmng how to operate the X 07 ...
Страница 11: ...2 ...
Страница 63: ......
Страница 64: ......
Страница 107: ...00 ...
Страница 108: ......
Страница 145: ...136 Instructions Others BEEP MOTOR REM Functions ABS FIX HEX INT SGN START TAB ...
Страница 146: ......
Страница 147: ......
Страница 149: ......