Set/Clear Pixel at X/Y

\i D p word::pos_x word::pos_y bool::on_off

Parameter Type Range Description
pos_x word 0 ... display width - 1 horizontal position
pos_y word 0 ... display height - 1 vertical position
on_off bool 0 ... 1 determines whether a pixel is set (1) or cleared (0)

Sets or clears a pixel at the specified position.

Note

Response: [ACK]

Example

\iDp\D120\D55\1

Sets or clears a pixel at the position x = 120 and y = 55 pixels.

See also:

Set Background Color
Set Foreground Color
Set Inverse Mode
Set Alpha