Glcd updateDisplayArea()
This function copies a specific area from the display RAM to the LCD.
#include "GLCD_ST7565.h"
#include <Ports.h>
#include <RF12.h> // needed to avoid a linker error :(
GLCD_ST7565 glcd;
glcd.updateDisplayArea(byte left,byte top,byte right,byte bottom, byte reset=0);
Parameters
left
0-127, the left most edge of the update rectangle to be copied from RAM to the LCD
top
0-63, the top most edge of the update rectangle
right
0-127, the right most edge of the update rectangle. Must be >= left.
bottom
0-63, the bottom most edge of the update rectangle. Must be >= top
reset (optional)
0 or 1. The default is 0 (no). If set to 1 (yes) the update will be treated as updating all the areas of the screen that needed updating, and the intelligent update area tracking on the display RAM will be reset.
Notes
By default all changes to the display RAM are tracked, and calls to display() only update the area of the screen required. Therefore this function should not be required during normal use. It is only required if you are doing you own direct memory access to the Display RAM.