From 9e120995b20f1ce3d0454c1bb5f2546aeb48d5ca Mon Sep 17 00:00:00 2001 From: Phil Howard Date: Thu, 2 Mar 2023 13:09:55 +0000 Subject: [PATCH] Inky Frame: Add colour constants to Python module. --- micropython/modules_py/inky_frame.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/micropython/modules_py/inky_frame.py b/micropython/modules_py/inky_frame.py index 1892a6ed..f6dd5ec1 100644 --- a/micropython/modules_py/inky_frame.py +++ b/micropython/modules_py/inky_frame.py @@ -3,6 +3,14 @@ from machine import Pin from wakeup import get_shift_state, reset_shift_state import time +BLACK = 0 +WHITE = 1 +GREEN = 2 +BLUE = 3 +RED = 4 +YELLOW = 5 +ORANGE = 6 +TAUPE = 7 SR_CLOCK = 8 SR_LATCH = 9