From cb91368b32cae992111d7f87feaa3a7ef3daaf3b Mon Sep 17 00:00:00 2001 From: Laurens Valk Date: Mon, 2 Nov 2020 13:51:47 +0100 Subject: [PATCH] api/common/LightGrid: add orientation setter --- pybricks/_common.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pybricks/_common.py b/pybricks/_common.py index b8e8b71..22a5c1b 100644 --- a/pybricks/_common.py +++ b/pybricks/_common.py @@ -549,6 +549,14 @@ class LightGrid: """ pass + def orientation(self, up): + """Sets the orientation of the light matrix display. + + Arguments: + top (Side): Which side of the hub or light matrix is "up". + """ + pass + def image(self, matrix): """Shows an image made up of pixels of a given brightness, represented by a matrix of intensity values (0--100). A 2D list of intensity values