Pset

Syntax:

    PSet(XPosition, YPosition, GLCDState)

Explanation:

Sets or clears a single pixel at the specified XPosition, YPosition. Set GLCDState to 1 to set the pixel (draw it in the foreground colour), or to 0 to clear it (return it to the background colour).

Example:

    #include <glcd.h>

    PSet(64, 32, 1)          ' <<< the PSet instruction

Key line: PSet(64, 32, 1) — sets the single pixel at the centre of a 128x64 display to the foreground colour.

See Also: