Class GLCD_ST7565
The GLCD_ST7565 class provides functions to drive the 128x64 Graphics Board.
#include <GLCD_ST7565.h>
#include <Ports.h>
#include <RF12.h> // needed to avoid a linker error :(
class GLCD_ST7565 glcd;
Public API
Basic display handling functions
- glcd begin() - Initialises the display
- glcd backLight() - Set the intensity of the backlight LED when driven via PWM
- glcd clear() - Clear the LCD and display RAM to all black
- glcd refresh() - Forces the pixels stored in the display RAM to be copied to the LCD panel
- glcd updateDisplayArea() - Copies a specific area from display RAM to the LCD
- glcd setUpdateArea() - Sets the update area
Graphical functions
- glcd setPixel() - Turn an individual pixel black or white
- glcd drawLine() - Draw a line between two points
- glcd drawCircle() - Draw a circle
- glcd fillCircle() - Draw a solid circle
- glcd drawRect() - Draw a rectangle
- glcd fillRect() - Draw a solid rectangle
- glcd drawTriangle() - Draws a triangle
- glcd fillTriangle() - Draws a solid triangle
- glcd drawBitmap() - Draws a bitmap
- glcd scroll() - scrolls the display left, right, up or down
Text functions
- glcd drawChar() - Draws a single character
- glcd drawString() - Draws a string from RAM
- glcd drawString_P() - Draws a string from program EEPROM