EpdResetRedPlane()

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

Syntax

EpdResetRedPlane()


Clears the Red/Yellow driver IC GRAM plane.


The Red/Yellow plane is binary — a pixel is either that color or it isn't, with no third state.
EpdFillColorPlane() can set the entire plane to that color (all 1s), but has no equivalent option to clear it back to all-0s ("not red/yellow everywhere") — there's no wColor value for that.
To clear the Red/Yellow plane specifically, call EpdResetRedPlane() instead.


            EpdResetRedPlane()

            EpdFillColorPlane(WHITE)

            EpdFrameUpdate(EPD_UPDATE_LUT)

            EpdFillColorPlane(BLACK)

            EpdFrameUpdate(EPD_UPDATE_NORMAL)

            EpdFillColorPlane(RED)

            EpdFrameUpdate(EPD_UPDATE_NORMAL)

            EpdResetRedPlane()

            EpdFillColorPlane(WHITE)

            EpdFrameUpdate(EPD_UPDATE_NORMAL)

Created with the Personal Edition of HelpNDoc: Experience the Power and Ease of Use of a Help Authoring Tool