From 3bf2e18f8381fe53b582c4ffd8c44f44a5d1d890 Mon Sep 17 00:00:00 2001 From: Christoph Haas Date: Fri, 16 Jan 2026 23:53:21 +0100 Subject: [PATCH] bitcoin trend symbol not showing. --- scenes/bitcoin.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/scenes/bitcoin.py b/scenes/bitcoin.py index ffcf26e..37e952b 100644 --- a/scenes/bitcoin.py +++ b/scenes/bitcoin.py @@ -20,7 +20,7 @@ def start(stop_event, args): trend = None image_buffer = lib.display.matrix.buffer() draw = ImageDraw.Draw(image_buffer) - symbol = '⏶' + #symbol = '⏶' while not stop_event.is_set(): # All to black draw.rectangle( ((0,0),(lib.display.matrix.width-1,lib.display.matrix.height-1)), fill=(0,0,0) ) @@ -31,15 +31,16 @@ def start(stop_event, args): if last_price: if price > last_price: trend = 1 - symbol = "🡅" + #symbol = "🡅" elif price < last_price: trend = -1 - symbol = "🡇" + #symbol = "🡇" #display.triangle(draw, 0, 0, trend, width=16, height=32) print(symbol) - text = f"{symbol} BTC: {price:.0f}€" + #text = f"{symbol} BTC: {price:.0f}€" + text = f"BTC: {price:.0f}€" draw.text((20, 0), text, fill=(255, 255, 255), font=lib.display.matrix.large_font)