Glcd setPixel()

This function either sets or clears the specified pixel.

#include "GLCD_ST7565.h"
#include <Ports.h>
#include <RF12.h> // needed to avoid a linker error :(

GLCD_ST7565 glcd;
glcd.setPixel(byte x,byte y,byte colour);

Parameters

x

0-127, the x coordinate of the pixel.

y

0-63, the y coordinate of the pixel.

colour

0 or 1, BLACK or WHITE. The colour you wish to set the pixel.