EpdResetScreen()

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

Syntax

EpdResetScreen(wColor As Word)

Parameters

wColor — WHITE, BLACK, RED, YELLOW


Fills the screen with a single color.


This creates the effect of a screen reset — but the reset itself serves a more important purpose than just clearing to a color: it removes ghosting, the faint residual image that tends to accumulate on EPD panels from previous content.


(*) Calls a full screen update.


Note: During the reset, the screen will visibly flicker through several color changes.
Under the hood, this procedure repeatedly fills the GRAM buffer with a color and drives a full refresh — this is a genuinely slow process, by design.


    DelayMS 1000

    EpdSetUp(0,0)                                                   'Set display

    EpdSetBorder(WHITE)                                             'Set border 

    EpdResetScreen(WHITE)                                           'Reset screen to white  

Created with the Personal Edition of HelpNDoc: HelpNDoc's Project Analyzer: Incredible documentation assistant