PSET

Top  Previous  Next

Action

Sets or resets a single pixel.

 

 

Syntax

PSET X , Y,  value

 

 

Remarks

X

The X location of the pixel. In range from 0-239.

Y

The Y location of the pixel. In range from 0-63.

value

The value for the pixel. 0 will clear the pixel. 1 Will set the pixel.

 

The PSET is handy to create a simple data logger or oscilloscope.

 

See also

CONFIG GRAPHLCD

 

 

Example

Dim X as Byte, Y as Byte

For X = 0 To 10

For Y = 0 To 10

  Pset X , Y , 1                        'make a nice block

Next

Next

End