From 7628237e85bc46f7754efc9359bfb6ecae4f1f5a Mon Sep 17 00:00:00 2001 From: HiFiBerry Date: Wed, 15 Feb 2023 20:51:59 +0100 Subject: [PATCH] Add SAM support --- contrib/python/dmddisplay/console_display.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/contrib/python/dmddisplay/console_display.py b/contrib/python/dmddisplay/console_display.py index 175e48f8..4726f192 100644 --- a/contrib/python/dmddisplay/console_display.py +++ b/contrib/python/dmddisplay/console_display.py @@ -7,6 +7,7 @@ symbols = { "wpc": [" ","*"], "whitestar": [" ",".","o","O","*","?","?","?","?","?","?","?","?","?","?","?"], + "sam": [" "," ",".",".",".","o","o","o","O","O","O","*","*","*","#","#"], "spike": [" "," ",".",".",".","o","o","o","O","O","O","*","*","*","#","#"] } @@ -40,4 +41,4 @@ def display_image(self, columns, rows, bitsperpixel, data): pv = ((d >> pixelbit) & pixelmask) rstr+=self.chars[pv] - print(rstr) \ No newline at end of file + print(rstr)