From dbc0f918488620b7ccb1964ae3b223dd4e19bd1b Mon Sep 17 00:00:00 2001 From: CiscoTheWolf Date: Sun, 21 May 2023 23:24:02 +0200 Subject: [PATCH] debugging test --- rpi/blinkingTest.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rpi/blinkingTest.py b/rpi/blinkingTest.py index 5dc99b4..32a0f4f 100644 --- a/rpi/blinkingTest.py +++ b/rpi/blinkingTest.py @@ -48,8 +48,8 @@ for alpha in range(10): offscreen_interpolated_canvas = matrix.CreateFrameCanvas() interpolated_image = image_interpolation(noBlinkImage, fullBlinkImage, alpha/10) blinkFrameCanvases[alpha] = offscreen_interpolated_canvas.SetImage(interpolated_image) -blinkFrameCanvases[0] = noBlinkImage -blinkFrameCanvases[10] = fullBlinkImage +blinkFrameCanvases[0] = offscreen_interpolated_canvas.SetImage(noBlinkImage) +blinkFrameCanvases[10] = offscreen_interpolated_canvas.SetImage(fullBlinkImage) # offscreen canvas that can be written to and then set to the matrix asynchronously offscreen_canvas = matrix.CreateFrameCanvas()