This commits defines sleep and wakeup methods to enter deep sleep
and wake from sleep mode. Only the feature has been tested, meaning,
calling sleep and wakeup in SLEEP_MODE_1.
During SLEEP_MODE1, RAM is still accessible and thus it is possible to
write new data but they won't show.
After wakeup, updating display will show the operations done during sleep
mode.
Signed-off-by: Pierre-Yves Kerbrat <pykerbrat@gmail.com>
This commit adds support for waveshare 2in13 V2 e-ink displays.
Limitation: Only full update is supported at the current time
Signed-off-by: Pierre-Yves Kerbrat <pykerbrat@gmail.com>