epd2in13: added rotation

This commit is contained in:
Daniel Esteban
2019-06-30 16:07:12 +02:00
committed by Ayke van Laethem
parent 28dbbe2e65
commit d8675515bc
2 changed files with 69 additions and 15 deletions
+5
View File
@@ -23,4 +23,9 @@ const (
SET_RAM_X_ADDRESS_COUNTER = 0x4E
SET_RAM_Y_ADDRESS_COUNTER = 0x4F
TERMINATE_FRAME_READ_WRITE = 0xFF
NO_ROTATION Rotation = 0
ROTATION_90 Rotation = 1 // 90 degrees clock-wise rotation
ROTATION_180 Rotation = 2
ROTATION_270 Rotation = 3
)