Glcd drawBitmap()
Copies a bitmap from RAM to the display RAM.
#include "GLCD_ST7565.h"
#include <Ports.h>
#include <RF12.h> // needed to avoid a linker error :(
GLCD_ST7565 glcd;
glcd.drawBitmap(byte x, byte y, const byte *bitmap, byte width, byte height, byte colour)
Parameters
x
0-127, the x coordinate of the left edge of the bitmap when it is copied into display RAM.
y
0-63, the y coordinate of the top edge of the bitmap when it is copied into display RAM.
*bitmap
A pointer to the bitmap in RAM.
width
0-127, The width of the bitmap in pixels.
height
0-63, The height of the bitmap in pixels.
colour
0 or 1, BLACK or WHITE. The colour the bits set to one should be set to.