VISGETP (Function)


Obtain designated coordinate brightness from the storage memory (processing screen).


VISGETP (<coordinate X>, <coordinate Y>)


<coordinate X>
Specifies the X coordinate (0 to 511).
<coordinate Y>
Specifies the Y coordinate (0 to 479).
  • The processing object is the screen designated with VISWORKPLN.
  • For this instruction, a µVision board (option) is required.



VISPLNOUT 0
'Display storage memory 0 (process screen)
FOR I1 = 10 TO 200 STEP 5
I2 = VISGET P(100+I1,100)
'Assign the brightness value of the to
'(100+I1, 100) coordinates I2
VISLOC 10,10
'Set the display position
VISDEFCHAR 1,1,3
'Designate the display character size
'and the display mode
VISPRINT "brightness value =";I2
NEXT I1


Top