EpdSetPlane()

Library Description ›› EPD ›› Common ›› Setup ››
Parent Previous Next

Syntax

EpdSetPlane(wWorkingPlane As wWorkingPlane)

Parameters

wWorkingPlane — BLACK, RED


$define EPD_Plane_BW        BLACK

$define EPD_Plane_OLD       BLACK        

$define EPD_Plane_RY        RED

$define EPD_Plane_NEW       RED


Selects the current working GRAM plane.


This is the actual driver IC register address that pixel bytes get written to, whether they're coming from a RAM/SRAM frame buffer or being written directly in bufferless mode.


There are only two physical planes, but they carry different meaning depending on the controller: on a Black/White/Red or Black/White/Yellow panel, the two planes hold the BW and RY color data.
On a monochrome panel or such capable of partial updates, that same second plane instead holds New pixel data alongside the Old (previous) pixel state — the distinction a correct partial-update waveform depends on, as covered earlier.
EPD_Plane_BW/EPD_Plane_OLD and EPD_Plane_RY/EPD_Plane_NEW are simply two names for the same underlying register addresses, used depending on which of these two roles applies to your panel.


Note: This is handled automatically by the library in normal use, and in most cases you won't need to touch it — it reverts to the correct plane on its own, based on what's currently being printed.
There are limited cases where setting it manually is useful, but for most users this is more a "good to know, worth experimenting with" detail than something that plays a practical role in everyday use.


    EpdSetPlane(BLACK)

Created with the Personal Edition of HelpNDoc: What is a Help Authoring tool?