VISDEFCHAR
(Statement)
Designate the size of characters and the display method.
VISDEFCHAR <lateral size>, <longitudinal size>, <display method>
<lateral size>
Specifies the lateral size of character (1 to 4).
<longitudinal size>
Specifies the longitudinal size of characters (1 to 4).
<display method>
Specifies the display method of characters (0 to 3).
0: White
1: Black
2: Outline characters on a white background
3: Outline characters on a black background
-
When you turn ON the power, VISDEFCHAR 1, 1, 0 will be set as the initial setting.
-
The standard character size is 16 (longitudinal) x 16 lateral dots a (VISDEFCHAR 1, 1, *).
-
If you set white or black, only characters are displayed with the background remaining.
-
For characters on a black background, the background is set to black and characters to white. For characters on a white background, the background is set to white and characters to black. Therefore, characters which are hard to read can be seen clearly.
-
For this instruction, a µVision board (option) is required.
VISPLNOUT 0
|
'Display storage memory 0 (processing screen)
|
VISSCREEN 0,0,1
|
'Instantaneously draw on processing screen 0
|
VISCLS 128
|
'Clear the screen
|
VISLOC 10,10
|
'Set the display position
|
VISDEFCHAR 1,1,0
|
'Designate the character size and the display method
|
VISPRINT "Size 1"
|
'
|
VISLOC 10,11
|
'Set the display position
|
VISDEFCHAR 2,2,1
|
'Designate the character size and the display method
|
VISPRINT "Size 2"
|
'
|
VISLOC 10,13
|
'Set the display position
|
VISDEFCHAR 2,2,2
|
'Designate the character size and the display method
|
VISPRINT "Outline character on white background"
|
|
VISDEFCHAR 2,2,3
|
'Designate the character size and the display method
|
VISPRINT "Outline character on black background"
|